Instructions to use AnishGaware10/annotrix-wildlife-yolo11n with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use AnishGaware10/annotrix-wildlife-yolo11n with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("AnishGaware10/annotrix-wildlife-yolo11n", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Annotrix wildlife detector (YOLO11n, fine-tuned)
Object detector for four African animals: buffalo, elephant, rhino, zebra. It powers the automatic box suggestions in Annotrix, an AI-assisted image annotation tool built for the AI Vision module at SRH University Heidelberg.
Training
- Base model: Ultralytics YOLO11n, COCO-pretrained
- Data: Ultralytics African Wildlife dataset, train split (1,052 images); best epoch chosen on the val split (225 images)
- 12 epochs, image size 512, batch 16, CPU, seed 0, default Ultralytics augmentation
Results (African Wildlife test split, 227 images, 375 animals)
| Model | mAP@0.5 | mAP@0.5:0.95 | AP50 buffalo | AP50 elephant | AP50 rhino | AP50 zebra |
|---|---|---|---|---|---|---|
| YOLO11n COCO-pretrained | 0.444 | 0.374 | 0.000 | 0.789 | 0.000 | 0.987 |
| This model | 0.955 | 0.797 | 0.959 | 0.966 | 0.950 | 0.945 |
Usage
from ultralytics import YOLO
model = YOLO("wildlife-yolo11n-cpu.pt")
results = model("image.jpg", conf=0.3)
In Annotrix: put the file in data/weights/ and set LA_DETECTOR=wildlife-yolo11n-cpu.pt.
Citation
Jocher, G., & Qiu, J. (2024). Ultralytics YOLO11. https://github.com/ultralytics/ultralytics
- Downloads last month
- 44