Instructions to use SpotLab/YOLOv8Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpotLab/YOLOv8Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="SpotLab/YOLOv8Detection")# pip install -U transformers accelerate # Load model directly from transformers import Yolov8ForObjectDetection model = Yolov8ForObjectDetection.from_pretrained("SpotLab/YOLOv8Detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download test_images/cat.jpg from SpotLab/YOLOv8Detection: direct link, hf CLI and curl.
- Browser
- Download file 15.7 kB
-
https://huggingface.co/SpotLab/YOLOv8Detection/resolve/main/test_images/cat.jpg
- Command line
-
hf download hf://SpotLab/YOLOv8Detection/test_images/cat.jpg
-
curl -L -o cat.jpg https://huggingface.co/SpotLab/YOLOv8Detection/resolve/main/test_images/cat.jpg
15.7 kB
