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 ·
9f09818
1
Parent(s): b5494e3
Update preprocessor_config.json
Browse files- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"crop_size": {
|
| 3 |
-
"height":
|
| 4 |
-
"width":
|
| 5 |
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_normalize": true,
|
|
|
|
| 1 |
{
|
| 2 |
"crop_size": {
|
| 3 |
+
"height": 640,
|
| 4 |
+
"width": 640
|
| 5 |
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_normalize": true,
|