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
Commit ·
a1a7ec6
1
Parent(s): 105529a
Update config.json
Browse files- config.json +2 -0
config.json
CHANGED
|
@@ -99,6 +99,8 @@
|
|
| 99 |
"min_depth": 8,
|
| 100 |
"model_type": "mobilenet_v2",
|
| 101 |
"num_channels": 3,
|
|
|
|
|
|
|
| 102 |
"output_stride": 32,
|
| 103 |
"semantic_loss_ignore_index": 255,
|
| 104 |
"tf_padding": true,
|
|
|
|
| 99 |
"min_depth": 8,
|
| 100 |
"model_type": "mobilenet_v2",
|
| 101 |
"num_channels": 3,
|
| 102 |
+
"input_size": 320,
|
| 103 |
+
"num_detection_tokens": 100,
|
| 104 |
"output_stride": 32,
|
| 105 |
"semantic_loss_ignore_index": 255,
|
| 106 |
"tf_padding": true,
|