Upload yolov8n-seg-v2/README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---model-index:- name: yolov8n-seg-v2 results: - task: type: image-segmentation dataset: name: Flatworm Watcher v1 type: easci-co/flatworm-watcher metrics: - type: mAP@50 value: 0.2544 - type: mAP@50-95 value: 0.0722 - type: precision value: 0.7426 - type: recall value: 0.5644---
# yolov8n-seg-v2
YOLOv8 segmentation model for flatworm detection.
## Metrics
| Metric | Value ||--------|-------|| mAP@50 | 0.2544 || mAP@50-95 | 0.0722 || Precision | 0.7426 || Recall | 0.5644 || Test Images | 4 |
## Usage
```pythonfrom ultralytics import YOLOfrom huggingface_hub import hf_hub_download
# Download modelmodel_path = hf_hub_download( repo_id="easci-co/flatworm-detector", filename="yolov8n-seg-v2/best.pt")
# Load and run inferencemodel = YOLO(model_path)results = model.predict("your_image.jpg")```
## Training
Trained on the [Flatworm Watcher dataset](https://huggingface.co/datasets/easci-co/flatworm-watcher).yolov8n-seg-v2/README.mdAdded+54