Downloads · 30 days
30
15% of all-time downloads
ogaith/YOLOv8s-dog-detection
YOLOv8s-dog-detection is a object detection model from ogaith. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as apache-2.0.
This repository contains a finetuned YOLOv8 model for detecting dogs in images.
Downloads · 30 days
30
15% of all-time downloads
All-time downloads
204
Public
Repo size
9.8 MB
Likes
1
Public
Click a slice to open those files.
.pt6.2 MB · 64%
From the Hugging Face model README
This repository contains a finetuned YOLOv8 model for detecting dogs in images.
best.ptdog)pip install ultralytics
yolo detect predict \
model=best.pt \
source="assets/runs/detect/val/example1.jpg" \
imgsz=640 \
conf=0.25 \
save=True
Batch infer on folder
yolo detect predict model=best.pt source="images_folder/" imgsz=640 conf=0.25 save=True
from ultralytics import YOLO
# Load model
model = YOLO("best.pt")
# Run prediction
results = model.predict(
source="assets/runs/detect/val/example1.jpg",
conf=0.25,
imgsz=640
)
# Display or save result
results[0].show() # display
# results[0].save() # save to file