Bingsu
Bingsu/adetailer
No description available.
Model Documentation
YOLOv8 Detection Model
Datasets
Face
Hand
Person
deepfashion2
| id | label | | --
Info
| Model | Target | mAP 50 | mAP 50-95 | | --------------------------
0.761 (mask) | 0.555 (bbox)
0.460 (mask) | | person_yolov8s-seg.pt | 2D / realistic person | 0.824 (bbox)
0.809 (mask) | 0.605 (bbox)
0.508 (mask) | | person_yolov8m-seg.pt | 2D / realistic person | 0.849 (bbox)
0.831 (mask) | 0.636 (bbox)
0.533 (mask) | | deepfashion2_yolov8s-seg.pt | realistic clothes | 0.849 (bbox)
0.840 (mask) | 0.763 (bbox)
0.675 (mask) |
Usage
python
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
path = hf_hub_download("Bingsu/adetailer", "face_yolov8n.pt")
model = YOLO(path)
python
import cv2
from PIL import Image
img = "https://farm5.staticflickr.com/4139/4887614566_6b57ec4422_z.jpg"
output = model(img)
pred = output[0].plot()
pred = cv2.cvtColor(pred, cv2.COLOR_BGR2RGB)
pred = Image.fromarray(pred)
pred

Unsafe files

Since
getattr is classified as a dangerous pickle function, any segmentation model that uses it is classified as unsafe.All models were created and saved using the official ultralytics library, so it's okay to use files downloaded from a trusted source.
See also: https://huggingface.co/docs/hub/security-pickle
Files & Weights
| Filename | Size | Action |
|---|---|---|
| deepfashion2_yolov8s-seg.pt | 0.02 GB | |
| face_yolov8m.pt | 0.05 GB | |
| face_yolov8n.pt | 0.01 GB | |
| face_yolov8n_v2.pt | 0.01 GB | |
| face_yolov8s.pt | 0.02 GB | |
| face_yolov9c.pt | 0.05 GB | |
| hand_yolov8n.pt | 0.01 GB | |
| hand_yolov8s.pt | 0.02 GB | |
| hand_yolov9c.pt | 0.05 GB | |
| person_yolov8m-seg.pt | 0.05 GB | |
| person_yolov8n-seg.pt | 0.01 GB | |
| person_yolov8s-seg.pt | 0.02 GB |