Views
No views yet
==================== Results ====================
Easy Val AP: 0.9420471677096086
Medium Val AP: 0.9210357271019756
Hard Val AP: 0.8099848364072022
=================================================
1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4model_path = hf_hub_download(repo_id="AdamCodd/YOLOv11n-face-detection", filename="model.pt")
5model = YOLO(model_path)
6
7results = model.predict("/path/to/your/image", save=True) # saves the result in runs/detect/predict