Instructions to use Qifa/model_30epochs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qifa/model_30epochs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Qifa/model_30epochs")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Qifa/model_30epochs") model = AutoModelForObjectDetection.from_pretrained("Qifa/model_30epochs") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +4 -4
config.json
CHANGED
|
@@ -16,8 +16,8 @@
|
|
| 16 |
"hidden_size": 384,
|
| 17 |
"id2label": {
|
| 18 |
"0": "LABEL_0",
|
| 19 |
-
"1": "
|
| 20 |
-
"2": "
|
| 21 |
},
|
| 22 |
"image_size": [
|
| 23 |
512,
|
|
@@ -27,8 +27,8 @@
|
|
| 27 |
"intermediate_size": 1536,
|
| 28 |
"label2id": {
|
| 29 |
"LABEL_0": 0,
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
},
|
| 33 |
"layer_norm_eps": 1e-12,
|
| 34 |
"model_type": "yolos",
|
|
|
|
| 16 |
"hidden_size": 384,
|
| 17 |
"id2label": {
|
| 18 |
"0": "LABEL_0",
|
| 19 |
+
"1": "Normal",
|
| 20 |
+
"2": "Rusak"
|
| 21 |
},
|
| 22 |
"image_size": [
|
| 23 |
512,
|
|
|
|
| 27 |
"intermediate_size": 1536,
|
| 28 |
"label2id": {
|
| 29 |
"LABEL_0": 0,
|
| 30 |
+
"Normal": 1,
|
| 31 |
+
"Rusak": 2
|
| 32 |
},
|
| 33 |
"layer_norm_eps": 1e-12,
|
| 34 |
"model_type": "yolos",
|