Kennedy wambugu
commited on
Upload ViTForImageClassification
Browse files- config.json +4 -4
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -7,7 +7,7 @@
|
|
7 |
"encoder_stride": 16,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
-
"hidden_size":
|
11 |
"id2label": {
|
12 |
"0": "Corn___Common_Rust",
|
13 |
"1": "Corn___Gray_Leaf_Spot",
|
@@ -25,7 +25,7 @@
|
|
25 |
},
|
26 |
"image_size": 224,
|
27 |
"initializer_range": 0.02,
|
28 |
-
"intermediate_size":
|
29 |
"label2id": {
|
30 |
"Corn___Common_Rust": "0",
|
31 |
"Corn___Gray_Leaf_Spot": "1",
|
@@ -43,7 +43,7 @@
|
|
43 |
},
|
44 |
"layer_norm_eps": 1e-12,
|
45 |
"model_type": "vit",
|
46 |
-
"num_attention_heads":
|
47 |
"num_channels": 3,
|
48 |
"num_hidden_layers": 12,
|
49 |
"patch_size": 16,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "WinKawaks/vit-tiny-patch16-224",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
7 |
"encoder_stride": 16,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 192,
|
11 |
"id2label": {
|
12 |
"0": "Corn___Common_Rust",
|
13 |
"1": "Corn___Gray_Leaf_Spot",
|
|
|
25 |
},
|
26 |
"image_size": 224,
|
27 |
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 768,
|
29 |
"label2id": {
|
30 |
"Corn___Common_Rust": "0",
|
31 |
"Corn___Gray_Leaf_Spot": "1",
|
|
|
43 |
},
|
44 |
"layer_norm_eps": 1e-12,
|
45 |
"model_type": "vit",
|
46 |
+
"num_attention_heads": 3,
|
47 |
"num_channels": 3,
|
48 |
"num_hidden_layers": 12,
|
49 |
"patch_size": 16,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f91c9032e290d145bec27d8b82439bc9ea189f4c72923740daf4113990314b2
|
3 |
+
size 22130420
|