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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("ConradHw/pole_detect") model = AutoModelForObjectDetection.from_pretrained("ConradHw/pole_detect", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"id2label": {
|
| 3 |
"0": "pole"
|
| 4 |
-
}
|
| 5 |
"model_type": "detr"
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"id2label": {
|
| 3 |
"0": "pole"
|
| 4 |
+
},
|
| 5 |
"model_type": "detr"
|
| 6 |
}
|