Upload ViTForImageClassification
Browse files- README.md +1 -1
- config.json +10 -10
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: snacks_classification
|
| 10 |
results: []
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
+
base_model: google/vit-base-patch16-224-in21k
|
| 8 |
model-index:
|
| 9 |
- name: snacks_classification
|
| 10 |
results: []
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
@@ -11,6 +11,14 @@
|
|
| 11 |
"id2label": {
|
| 12 |
"0": "apple",
|
| 13 |
"1": "banana",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"10": "juice",
|
| 15 |
"11": "muffin",
|
| 16 |
"12": "orange",
|
|
@@ -20,15 +28,7 @@
|
|
| 20 |
"16": "salad",
|
| 21 |
"17": "strawberry",
|
| 22 |
"18": "waffle",
|
| 23 |
-
"19": "watermelon"
|
| 24 |
-
"2": "cake",
|
| 25 |
-
"3": "candy",
|
| 26 |
-
"4": "carrot",
|
| 27 |
-
"5": "cookie",
|
| 28 |
-
"6": "doughnut",
|
| 29 |
-
"7": "grape",
|
| 30 |
-
"8": "hot dog",
|
| 31 |
-
"9": "ice cream"
|
| 32 |
},
|
| 33 |
"image_size": 224,
|
| 34 |
"initializer_range": 0.02,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/content/drive/MyDrive/Skill Academy/Project 8_Yayang Nurul Aulia Azizah/snacks-clf-model",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
|
|
| 11 |
"id2label": {
|
| 12 |
"0": "apple",
|
| 13 |
"1": "banana",
|
| 14 |
+
"2": "cake",
|
| 15 |
+
"3": "candy",
|
| 16 |
+
"4": "carrot",
|
| 17 |
+
"5": "cookie",
|
| 18 |
+
"6": "doughnut",
|
| 19 |
+
"7": "grape",
|
| 20 |
+
"8": "hot dog",
|
| 21 |
+
"9": "ice cream",
|
| 22 |
"10": "juice",
|
| 23 |
"11": "muffin",
|
| 24 |
"12": "orange",
|
|
|
|
| 28 |
"16": "salad",
|
| 29 |
"17": "strawberry",
|
| 30 |
"18": "waffle",
|
| 31 |
+
"19": "watermelon"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
},
|
| 33 |
"image_size": 224,
|
| 34 |
"initializer_range": 0.02,
|