Instructions to use ipd805/digit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ipd805/digit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ipd805/digit")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ipd805/digit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +9 -15
config.json
CHANGED
|
@@ -1,17 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
"name": "digit",
|
| 8 |
-
"description": "A
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
"id": 1,
|
| 12 |
-
"name": "icon",
|
| 13 |
-
"description": "A graphical symbol"
|
| 14 |
-
}
|
| 15 |
-
],
|
| 16 |
-
"input_size": [640, 640]
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"framework": "onnx",
|
| 3 |
+
"weights": "digit.onnx",
|
| 4 |
+
"spec": {
|
| 5 |
+
"input_size": [640, 640],
|
| 6 |
+
"classes": [
|
| 7 |
+
{ "id": 0, "name": "digit", "description": "A numeric character" },
|
| 8 |
+
{ "id": 1, "name": "icon", "description": "A graphical symbol" }
|
| 9 |
+
]
|
| 10 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|