Instructions to use ConradHw/pole_detect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ConradHw/pole_detect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ConradHw/pole_detect")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("ConradHw/pole_detect") model = AutoModelForObjectDetection.from_pretrained("ConradHw/pole_detect") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
|
@@ -11,5 +11,7 @@
|
|
| 11 |
"pole": 0,
|
| 12 |
"person": 1
|
| 13 |
},
|
| 14 |
-
"model_type": "yolos"
|
|
|
|
|
|
|
| 15 |
}
|
|
|
|
| 11 |
"pole": 0,
|
| 12 |
"person": 1
|
| 13 |
},
|
| 14 |
+
"model_type": "yolos",
|
| 15 |
+
"num_attention_heads": 6,
|
| 16 |
+
"num_hidden_layers": 12
|
| 17 |
}
|