How to use from the
Use from the
ultralytics library
# Couldn't find a valid YOLO version tag.
# Replace XX with the correct version.
from ultralytics import YOLOvXX

model = YOLOvXX.from_pretrained("leonelgv/pollinator-classifier")
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)

Pollinator Insect Classifier πŸ”¬

High-precision classifier for 10 pollinator insect species using YOLOv8 Nano with 92.07% accuracy.

Quick Start

from ultralytics import YOLO
from huggingface_hub import hf_hub_download

# Download model
model_path = hf_hub_download("leonelgv/pollinator-classifier", "yolo8n.pt")

# Load and predict
model = YOLO(model_path)
results = model("insect_image.jpg")

See files in this repository for complete usage examples and training details.

Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Evaluation results

  • Top-1 Accuracy on Custom Pollinator Insects Dataset
    self-reported
    0.921
  • Top-5 Accuracy on Custom Pollinator Insects Dataset
    self-reported
    0.991