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 +12 -1
config.json
CHANGED
|
@@ -1,6 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "yolov8",
|
| 3 |
"num_classes": 2,
|
| 4 |
-
"classes": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"input_size": [640, 640]
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "yolov8",
|
| 3 |
"num_classes": 2,
|
| 4 |
+
"classes": [
|
| 5 |
+
{
|
| 6 |
+
"id": 0,
|
| 7 |
+
"name": "digit",
|
| 8 |
+
"description": "A numeric character"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"id": 1,
|
| 12 |
+
"name": "icon",
|
| 13 |
+
"description": "A graphical symbol"
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
"input_size": [640, 640]
|
| 17 |
}
|