Upload folder using huggingface_hub
Browse files- config.json +184 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Onion",
|
13 |
+
"1": "Astma_weed",
|
14 |
+
"2": "Tomato",
|
15 |
+
"3": "camphor",
|
16 |
+
"4": "Kambajala",
|
17 |
+
"5": "Pomoegranate",
|
18 |
+
"6": "Ganigale",
|
19 |
+
"7": "Mint",
|
20 |
+
"8": "Thumbe",
|
21 |
+
"9": "Doddpathre",
|
22 |
+
"10": "Lantana",
|
23 |
+
"11": "Seethaashoka",
|
24 |
+
"12": "Seethapala",
|
25 |
+
"13": "Bhrami",
|
26 |
+
"14": "Nooni",
|
27 |
+
"15": "Castor",
|
28 |
+
"16": "Badipala",
|
29 |
+
"17": "Jackfruit",
|
30 |
+
"18": "Caricature",
|
31 |
+
"19": "Catharanthus",
|
32 |
+
"20": "Parijatha",
|
33 |
+
"21": "Mango",
|
34 |
+
"22": "Chakte",
|
35 |
+
"23": "Palak(Spinach)",
|
36 |
+
"24": "Insulin",
|
37 |
+
"25": "Arali",
|
38 |
+
"26": "Guava",
|
39 |
+
"27": "Curry",
|
40 |
+
"28": "Chilly",
|
41 |
+
"29": "Honge",
|
42 |
+
"30": "Marigold",
|
43 |
+
"31": "Gasagase",
|
44 |
+
"32": "Raddish",
|
45 |
+
"33": "Amruthaballi",
|
46 |
+
"34": "Taro",
|
47 |
+
"35": "Nelavembu",
|
48 |
+
"36": "kamakasturi",
|
49 |
+
"37": "Tulsi",
|
50 |
+
"38": "ashoka",
|
51 |
+
"39": "Papaya",
|
52 |
+
"40": "Balloon_Vine",
|
53 |
+
"41": "Kasambruga",
|
54 |
+
"42": "Tecoma",
|
55 |
+
"43": "Ginger",
|
56 |
+
"44": "Malabar_Nut",
|
57 |
+
"45": "Jasmine",
|
58 |
+
"46": "Tamarind",
|
59 |
+
"47": "Nerale",
|
60 |
+
"48": "Ganike",
|
61 |
+
"49": "Sapota",
|
62 |
+
"50": "Henna",
|
63 |
+
"51": "Bringaraja",
|
64 |
+
"52": "Aloevera",
|
65 |
+
"53": "Amla",
|
66 |
+
"54": "Coffee",
|
67 |
+
"55": "Malabar_Spinach",
|
68 |
+
"56": "Globe Amarnath",
|
69 |
+
"57": "Bamboo",
|
70 |
+
"58": "Neem",
|
71 |
+
"59": "Pea",
|
72 |
+
"60": "Lemon",
|
73 |
+
"61": "Eucalyptus",
|
74 |
+
"62": "Coriender",
|
75 |
+
"63": "Turmeric",
|
76 |
+
"64": "Drumstick",
|
77 |
+
"65": "kepala",
|
78 |
+
"66": "Hibiscus",
|
79 |
+
"67": "Rose",
|
80 |
+
"68": "Citron lime (herelikai)",
|
81 |
+
"69": "Common rue(naagdalli)",
|
82 |
+
"70": "Spinach1",
|
83 |
+
"71": "Sampige",
|
84 |
+
"72": "Betel",
|
85 |
+
"73": "Kohlrabi",
|
86 |
+
"74": "Beans",
|
87 |
+
"75": "Ekka",
|
88 |
+
"76": "Pumpkin",
|
89 |
+
"77": "Padri"
|
90 |
+
},
|
91 |
+
"image_size": 224,
|
92 |
+
"initializer_range": 0.02,
|
93 |
+
"intermediate_size": 3072,
|
94 |
+
"label2id": {
|
95 |
+
"Aloevera": 52,
|
96 |
+
"Amla": 53,
|
97 |
+
"Amruthaballi": 33,
|
98 |
+
"Arali": 25,
|
99 |
+
"Astma_weed": 1,
|
100 |
+
"Badipala": 16,
|
101 |
+
"Balloon_Vine": 40,
|
102 |
+
"Bamboo": 57,
|
103 |
+
"Beans": 74,
|
104 |
+
"Betel": 72,
|
105 |
+
"Bhrami": 13,
|
106 |
+
"Bringaraja": 51,
|
107 |
+
"Caricature": 18,
|
108 |
+
"Castor": 15,
|
109 |
+
"Catharanthus": 19,
|
110 |
+
"Chakte": 22,
|
111 |
+
"Chilly": 28,
|
112 |
+
"Citron lime (herelikai)": 68,
|
113 |
+
"Coffee": 54,
|
114 |
+
"Common rue(naagdalli)": 69,
|
115 |
+
"Coriender": 62,
|
116 |
+
"Curry": 27,
|
117 |
+
"Doddpathre": 9,
|
118 |
+
"Drumstick": 64,
|
119 |
+
"Ekka": 75,
|
120 |
+
"Eucalyptus": 61,
|
121 |
+
"Ganigale": 6,
|
122 |
+
"Ganike": 48,
|
123 |
+
"Gasagase": 31,
|
124 |
+
"Ginger": 43,
|
125 |
+
"Globe Amarnath": 56,
|
126 |
+
"Guava": 26,
|
127 |
+
"Henna": 50,
|
128 |
+
"Hibiscus": 66,
|
129 |
+
"Honge": 29,
|
130 |
+
"Insulin": 24,
|
131 |
+
"Jackfruit": 17,
|
132 |
+
"Jasmine": 45,
|
133 |
+
"Kambajala": 4,
|
134 |
+
"Kasambruga": 41,
|
135 |
+
"Kohlrabi": 73,
|
136 |
+
"Lantana": 10,
|
137 |
+
"Lemon": 60,
|
138 |
+
"Malabar_Nut": 44,
|
139 |
+
"Malabar_Spinach": 55,
|
140 |
+
"Mango": 21,
|
141 |
+
"Marigold": 30,
|
142 |
+
"Mint": 7,
|
143 |
+
"Neem": 58,
|
144 |
+
"Nelavembu": 35,
|
145 |
+
"Nerale": 47,
|
146 |
+
"Nooni": 14,
|
147 |
+
"Onion": 0,
|
148 |
+
"Padri": 77,
|
149 |
+
"Palak(Spinach)": 23,
|
150 |
+
"Papaya": 39,
|
151 |
+
"Parijatha": 20,
|
152 |
+
"Pea": 59,
|
153 |
+
"Pomoegranate": 5,
|
154 |
+
"Pumpkin": 76,
|
155 |
+
"Raddish": 32,
|
156 |
+
"Rose": 67,
|
157 |
+
"Sampige": 71,
|
158 |
+
"Sapota": 49,
|
159 |
+
"Seethaashoka": 11,
|
160 |
+
"Seethapala": 12,
|
161 |
+
"Spinach1": 70,
|
162 |
+
"Tamarind": 46,
|
163 |
+
"Taro": 34,
|
164 |
+
"Tecoma": 42,
|
165 |
+
"Thumbe": 8,
|
166 |
+
"Tomato": 2,
|
167 |
+
"Tulsi": 37,
|
168 |
+
"Turmeric": 63,
|
169 |
+
"ashoka": 38,
|
170 |
+
"camphor": 3,
|
171 |
+
"kamakasturi": 36,
|
172 |
+
"kepala": 65
|
173 |
+
},
|
174 |
+
"layer_norm_eps": 1e-12,
|
175 |
+
"model_type": "vit",
|
176 |
+
"num_attention_heads": 12,
|
177 |
+
"num_channels": 3,
|
178 |
+
"num_hidden_layers": 12,
|
179 |
+
"patch_size": 16,
|
180 |
+
"problem_type": "single_label_classification",
|
181 |
+
"qkv_bias": true,
|
182 |
+
"torch_dtype": "float32",
|
183 |
+
"transformers_version": "4.33.2"
|
184 |
+
}
|
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:f7852a54267af6ac4877b57a54ce00288bb8d7a9eb9fc13b2f63d345c096f943
|
3 |
+
size 343502445
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:286f3b9123a1b49a1ff8066ee71f6913070772e6b84add7697f4c56783e2f736
|
3 |
+
size 4027
|