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 +4 -0
config.json
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
"id2label": {
|
| 3 |
"0": "pole"
|
| 4 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"label2id": {
|
| 6 |
"pole": 0,
|
| 7 |
},
|
|
|
|
| 2 |
"id2label": {
|
| 3 |
"0": "pole"
|
| 4 |
},
|
| 5 |
+
"image_size": [
|
| 6 |
+
512,
|
| 7 |
+
864
|
| 8 |
+
],
|
| 9 |
"label2id": {
|
| 10 |
"pole": 0,
|
| 11 |
},
|