SAVRN
Search Contact SAVRN

Open-weight model · Object detection

YOLO-Face-Person-Detector

by Irina Tolstykh iitolstykh/YOLO-Face-Person-Detector

This model is a fine-tuned version of YOLOv8x specialized in detecting two specific classes: Face and Person. It has been trained on a large-scale proprietary dataset consisting of approximately 150,000 images.

Parameters68M
Context
Weights273.2 MB
Licenseagpl-3.0
AccessOpen weights
Monthly Downloads64k

Runs On

What it takes to serve YOLO-Face-Person-Detector (68M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.1 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Irina Tolstykh, published under agpl-3.0, revision b3d071aedccd.

This model is a fine-tuned version of YOLOv8x specialized in detecting two specific classes: Face and Person. It has been trained on a large-scale proprietary dataset consisting of approximately 150,000 images. The high capacity of the YOLOv8x architecture combined with a diverse proprietary dataset ensures high accuracy and robustness in various scenarios. You can load the model using the Hugging Face transformers library by enabling custom code execution. If you prefer the standard Ultralytics API, you can download the weights from the Hub and load them directly. This method automatically handles model downloading for ultralytics YOLO model. This model is based on the Ultralytics YOLOv8…

Read Irina Tolstykh's full model card

YOLOv8x Face & Person Detector

Model Description

This model is a fine-tuned version of YOLOv8x specialized in detecting two specific classes: Face and Person.

It has been trained on a large-scale proprietary dataset consisting of approximately 150,000 images. The high capacity of the YOLOv8x architecture combined with a diverse proprietary dataset ensures high accuracy and robustness in various scenarios.

How to Use

Installation

pip install ultralytics==8.1.0 torch==2.5.1 transformers huggingface_hub

1. Use with transformers

You can load the model using the Hugging Face transformers library by enabling custom code execution.

from transformers import AutoModel
from PIL import Image
import torch

# 1. Load model with trust_remote_code=True
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
model = AutoModel.from_pretrained(
    "iitolstykh/YOLO-Face-Person-Detector", 
    trust_remote_code=True,
    dtype=torch_dtype,
).to(device)

# 2. Load image (You can use URL, PIL.Image or np.ndarray)
image = Image.open("path/to/your/image.jpg")
# image = cv2.imread("path/to/your/image.jpg")

# 3. Perform inference
results = model(image, conf=0.4, iou=0.7)[0]

# 4. Process results
print("Found objects:", [results.names[int(det.cls)] for det in results.boxes])
print("Boxes:", results.boxes)
# render_result(model=model.yolo, image=image, result=results).show()

2. Use with ultralytics

If you prefer the standard Ultralytics API, you can download the weights from the Hub and load them directly.

from ultralytics import YOLO
from huggingface_hub import hf_hub_download
import torch

# 1. Download model weights
model_path = hf_hub_download(
    repo_id="iitolstykh/YOLO-Face-Person-Detector",
    filename="yolov8x_person_face.pt",
    repo_type="model"
)

# 2. Load model
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
model = YOLO(model_path)
model.fuse()
if torch_dtype is torch.float16:
    model.model = model.model.half()
model.to(device)

# 3. Perform inference
image = 'https://variety.com/wp-content/uploads/2023/04/MCDNOHA_SP001.jpg' 
results = model.predict(image, conf=0.4, iou=0.7, half=torch_dtype is torch.float16)

# 4. Show results
for result in results:
    boxes = result.boxes
    print("Found objects:", [result.names[int(c)] for c in boxes.cls])

3. Use with ultralyticsplus

This method automatically handles model downloading for ultralytics YOLO model.

pip install ultralyticsplus==0.1.0
from ultralyticsplus import YOLO, render_result

# 1. Load model
model = YOLO('iitolstykh/YOLO-Face-Person-Detector')

# 2. Set model parameters
model.overrides['conf'] = 0.4
model.overrides['iou'] = 0.7
model.overrides['max_det'] = 100

# 3. Set image (You can use URL, PIL.Image or np.ndarray)
image = 'https://variety.com/wp-content/uploads/2023/04/MCDNOHA_SP001.jpg'

# 4. Perform inference
results = model.predict(image)

# 5. Show results
print("Found objects:", [results[0].names[int(det.cls)] for det in results[0].boxes])
render = render_result(model=model, image=image, result=results[0])
render.show()

License

This model is based on the Ultralytics YOLOv8 architecture and inherits the AGPL-3.0 License.

Please refer to the official Ultralytics Licensing details for more information regarding commercial usage and restrictions.

Citation

If you find our work helpful, please consider citing our papers and leaving valuable stars

@article{mivolo2023,
   Author = {Maksim Kuprashevich and Irina Tolstykh},
   Title = {MiVOLO: Multi-input Transformer for Age and Gender Estimation},
   Year = {2023},
   Eprint = {arXiv:2307.04616},
}
@article{mivolo2024,
   Author = {Maksim Kuprashevich and Grigorii Alekseenko and Irina Tolstykh},
   Title = {Beyond Specialization: Assessing the Capabilities of MLLMs in Age and Gender Estimation},
   Year = {2024},
   Eprint = {arXiv:2403.02302},
}
@article{cerberusdet,
   Author = {Irina Tolstykh,Michael Chernyshov,Maksim Kuprashevich},
   Title = {CerberusDet: Unified Multi-Dataset Object Detection},
   Year = {2024},
   Eprint = {arXiv:2407.12632},
}

Configuration

Architecture
YOLOV8ForObjectDetection
Stored precision
float16
Model type
yolov8

Identity and Version

Repository
iitolstykh/YOLO-Face-Person-Detector
Publisher
Irina Tolstykh
Task
Object detection
Modality
Image
Library
ultralytics
Parameters
68M parameters
Languages
Not stated by the source
Revision
b3d071aedccd46a3b2d4b40609da6880a815f395
First published
2025-11-25
Last updated
2025-11-28

Files and Weights

11 files, 291.5 MB in total. The weights are 2 files totalling 273.2 MB in pt, safetensors.

Weights2 files · 273.2 MB
Configuration3 files · 11.5 KB
Documentation1 file · 5.1 KB
Other3 files · 18.3 MB
Repository2 files · 1.7 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights136.5 MB 278524fbd3c5
yolov8x_person_face.ptWeights136.7 MB 2620f45609a6
config.jsonConfiguration488 B
configuration_yolo.pyConfiguration898 B
modeling_yolo.pyConfiguration10.1 KB
README.mdDocumentation5.1 KB
images/image.pngOther900.9 KB 3074ec787948
images/output.mp4Other17.4 MB c3bc956f838f
requirements.txtOther62 B
.gitattributesRepository1.7 KB
.gitignoreRepository17 B

License and Download

License
agpl-3.0
Access
Open weights, no gate
Download size
273.2 MB
Download from Irina Tolstykh

Released by Irina Tolstykh through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published273.2 MB
16-bit0.1 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About YOLO-Face-Person-Detector

How much GPU memory does YOLO-Face-Person-Detector need?

About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (68M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run YOLO-Face-Person-Detector on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use YOLO-Face-Person-Detector commercially?

Yes, with conditions. YOLO-Face-Person-Detector is released under GNU Affero General Public License 3.0. The AGPL 3.0 is a strong copyleft license. Commercial use is allowed, but a modified version made available to users over a network must be released with its source code under the same license.

Similar Models

The D-FINE model was proposed in D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement by Yansong Peng, Hebei Li, Peixi Wu, Yueyi Zhang, Xiaoyan Sun, Feng Wu This model was contributed by VladOS95-cyber with the help of @qubvel-hf This is the HF transformers implementation for D-FINE coco -> model trained on COCO obj365 -> model trained on Object365 obj2coco -> model trained on Object365 and then finetuned on COCO D-FINE, a powerful real-time object detector that achieves outstanding localization precision by redefining the bounding box regression task in DETR models. D-FINE comprises two key components: Fine-grained Distribution Refinement (FDR) and Global…

Open weights apache-2.0 63M parameters transformers

The D-FINE model was proposed in D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement by Yansong Peng, Hebei Li, Peixi Wu, Yueyi Zhang, Xiaoyan Sun, Feng Wu This model was contributed by VladOS95-cyber with the help of @qubvel-hf This is the HF transformers implementation for D-FINE coco -> model trained on COCO obj365 -> model trained on Object365 obj2coco -> model trained on Object365 and then finetuned on COCO D-FINE, a powerful real-time object detector that achieves outstanding localization precision by redefining the bounding box regression task in DETR models. D-FINE comprises two key components: Fine-grained Distribution Refinement (FDR) and Global…

Open weights apache-2.0 63M parameters transformers

Model · Object detection

detr-resnet-101

AI at Meta

DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images). It was introduced in the paper End-to-End Object Detection with Transformers by Carion et al. and first released in this repository. Disclaimer: The team releasing DETR did not write a model card for this model so this model card has been written by the Hugging Face team. The DETR model is an encoder-decoder transformer with a convolutional backbone. Two heads are added on top of the decoder outputs in order to perform object detection: a linear layer for the class labels and a MLP (multi-layer perceptron) for the bounding boxes. The model uses so-called object queries to detect…

Open weights apache-2.0 61M parameters 1,024 tokens transformers

Roof detection model for remote sensing imagery, fine-tuned using RT-DETR. The following example shows roof detections produced by the model: Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model.

Open weights mit 77M parameters transformers

Model · Object detection

rtdetr_r101vd_coco_o365

Peking University

However, we observe that the speed and accuracy of YOLOs are negatively affected by the NMS. Recently, end-to-end Transformer-based detectors (DETRs) have provided an alternative to eliminating NMS. Nevertheless, the high computational cost limits their practicality and hinders them from fully exploiting the advantage of excluding NMS. In this paper, we propose the Real-Time DEtection TRansformer (RT-DETR), the first real-time end-to-end object detector to our best knowledge that addresses the above dilemma. We build RT-DETR in two steps, drawing on the advanced DETR: first we focus on maintaining accuracy while improving speed, followed by maintaining speed while improving accuracy.…

Open weights apache-2.0 77M parameters transformers

Model · Object detection

rtdetr_v2_r101vd

Peking University

The RT-DETRv2 model was proposed in RT-DETRv2: Improved Baseline with Bag-of-Freebies for Real-Time Detection Transformer by Wenyu Lv, Yian Zhao, Qinyao Chang, Kui Huang, Guanzhong Wang, Yi Liu. RT-DETRv2 refines RT-DETR by introducing selective multi-scale feature extraction, a discrete sampling operator for broader deployment compatibility, and improved training strategies like dynamic data augmentation and scale-adaptive hyperparameters. These changes enhance flexibility and practicality while maintaining real-time performance. This model was contributed by @jadechoghari with the help of @cyrilvallez and @qubvel-hf This is RT-DETRv2 consistently outperforms its predecessor across all…

Open weights apache-2.0 77M parameters transformers