flatmoon102
commited on
Commit
•
440cba3
1
Parent(s):
1ad1689
Training in progress, epoch 1
Browse files- config.json +100 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "pineapple",
|
13 |
+
"1": "lettuce",
|
14 |
+
"2": "potato",
|
15 |
+
"3": "bell pepper",
|
16 |
+
"4": "pomegranate",
|
17 |
+
"5": "chilli pepper",
|
18 |
+
"6": "eggplant",
|
19 |
+
"7": "mango",
|
20 |
+
"8": "cabbage",
|
21 |
+
"9": "lemon",
|
22 |
+
"10": "capsicum",
|
23 |
+
"11": "spinach",
|
24 |
+
"12": "corn",
|
25 |
+
"13": "watermelon",
|
26 |
+
"14": "apple",
|
27 |
+
"15": "garlic",
|
28 |
+
"16": "sweetcorn",
|
29 |
+
"17": "grapes",
|
30 |
+
"18": "ginger",
|
31 |
+
"19": "sweetpotato",
|
32 |
+
"20": "raddish",
|
33 |
+
"21": "tomato",
|
34 |
+
"22": "paprika",
|
35 |
+
"23": "carrot",
|
36 |
+
"24": "cucumber",
|
37 |
+
"25": "cauliflower",
|
38 |
+
"26": "kiwi",
|
39 |
+
"27": "orange",
|
40 |
+
"28": "banana",
|
41 |
+
"29": "soy beans",
|
42 |
+
"30": "beetroot",
|
43 |
+
"31": "jalepeno",
|
44 |
+
"32": "onion",
|
45 |
+
"33": "peas",
|
46 |
+
"34": "pear",
|
47 |
+
"35": "turnip"
|
48 |
+
},
|
49 |
+
"image_size": 224,
|
50 |
+
"initializer_range": 0.02,
|
51 |
+
"intermediate_size": 3072,
|
52 |
+
"label2id": {
|
53 |
+
"apple": 14,
|
54 |
+
"banana": 28,
|
55 |
+
"beetroot": 30,
|
56 |
+
"bell pepper": 3,
|
57 |
+
"cabbage": 8,
|
58 |
+
"capsicum": 10,
|
59 |
+
"carrot": 23,
|
60 |
+
"cauliflower": 25,
|
61 |
+
"chilli pepper": 5,
|
62 |
+
"corn": 12,
|
63 |
+
"cucumber": 24,
|
64 |
+
"eggplant": 6,
|
65 |
+
"garlic": 15,
|
66 |
+
"ginger": 18,
|
67 |
+
"grapes": 17,
|
68 |
+
"jalepeno": 31,
|
69 |
+
"kiwi": 26,
|
70 |
+
"lemon": 9,
|
71 |
+
"lettuce": 1,
|
72 |
+
"mango": 7,
|
73 |
+
"onion": 32,
|
74 |
+
"orange": 27,
|
75 |
+
"paprika": 22,
|
76 |
+
"pear": 34,
|
77 |
+
"peas": 33,
|
78 |
+
"pineapple": 0,
|
79 |
+
"pomegranate": 4,
|
80 |
+
"potato": 2,
|
81 |
+
"raddish": 20,
|
82 |
+
"soy beans": 29,
|
83 |
+
"spinach": 11,
|
84 |
+
"sweetcorn": 16,
|
85 |
+
"sweetpotato": 19,
|
86 |
+
"tomato": 21,
|
87 |
+
"turnip": 35,
|
88 |
+
"watermelon": 13
|
89 |
+
},
|
90 |
+
"layer_norm_eps": 1e-12,
|
91 |
+
"model_type": "vit",
|
92 |
+
"num_attention_heads": 12,
|
93 |
+
"num_channels": 3,
|
94 |
+
"num_hidden_layers": 12,
|
95 |
+
"patch_size": 16,
|
96 |
+
"problem_type": "single_label_classification",
|
97 |
+
"qkv_bias": true,
|
98 |
+
"torch_dtype": "float32",
|
99 |
+
"transformers_version": "4.34.0"
|
100 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6f495bd2ef510659d9fadf8579c16e52faa36f6f563abf00799bf0a6188500e
|
3 |
+
size 343373293
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:650089d8c50f0afc0ca3fa0b4493a0e1099bac86e6ca2415caf1d6198d65f4f5
|
3 |
+
size 4155
|