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")# Load model directly from transformers import Yolov8ForObjectDetection model = Yolov8ForObjectDetection.from_pretrained("SpotLab/YOLOv8Detection", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Jaime García Villena commited on
Commit ·
9684c94
1
Parent(s): 151de84
fix(config): add model_type back, this time it's a YOLO
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -91,6 +91,7 @@
|
|
| 91 |
"output_stride": 32,
|
| 92 |
"semantic_loss_ignore_index": 255,
|
| 93 |
"tf_padding": true,
|
|
|
|
| 94 |
"torch_dtype": "float32",
|
| 95 |
"transformers_version": "4.33.3"
|
| 96 |
}
|
|
|
|
| 91 |
"output_stride": 32,
|
| 92 |
"semantic_loss_ignore_index": 255,
|
| 93 |
"tf_padding": true,
|
| 94 |
+
"model_type": "yolos",
|
| 95 |
"torch_dtype": "float32",
|
| 96 |
"transformers_version": "4.33.3"
|
| 97 |
}
|