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 ·
151de84
1
Parent(s): d0aeb8c
Correct detection tokens
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -87,7 +87,7 @@
|
|
| 87 |
"layer_norm_eps": 0.001,
|
| 88 |
"min_depth": 8,
|
| 89 |
"num_channels": 3,
|
| 90 |
-
"num_detection_tokens":
|
| 91 |
"output_stride": 32,
|
| 92 |
"semantic_loss_ignore_index": 255,
|
| 93 |
"tf_padding": true,
|
|
|
|
| 87 |
"layer_norm_eps": 0.001,
|
| 88 |
"min_depth": 8,
|
| 89 |
"num_channels": 3,
|
| 90 |
+
"num_detection_tokens": 8400,
|
| 91 |
"output_stride": 32,
|
| 92 |
"semantic_loss_ignore_index": 255,
|
| 93 |
"tf_padding": true,
|