internetoftim
commited on
Commit
•
d40069f
1
Parent(s):
cbc8a00
Upload ViTForImageClassification
Browse files- config.json +47 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "AnnualCrop",
|
13 |
+
"1": "Forest",
|
14 |
+
"2": "HerbaceousVegetation",
|
15 |
+
"3": "Highway",
|
16 |
+
"4": "Industrial",
|
17 |
+
"5": "Pasture",
|
18 |
+
"6": "PermanentCrop",
|
19 |
+
"7": "Residential",
|
20 |
+
"8": "River",
|
21 |
+
"9": "SeaLake"
|
22 |
+
},
|
23 |
+
"image_size": 224,
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"AnnualCrop": 0,
|
28 |
+
"Forest": 1,
|
29 |
+
"HerbaceousVegetation": 2,
|
30 |
+
"Highway": 3,
|
31 |
+
"Industrial": 4,
|
32 |
+
"Pasture": 5,
|
33 |
+
"PermanentCrop": 6,
|
34 |
+
"Residential": 7,
|
35 |
+
"River": 8,
|
36 |
+
"SeaLake": 9
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-12,
|
39 |
+
"model_type": "vit",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"qkv_bias": true,
|
45 |
+
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.25.1"
|
47 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4108be627e556c53c6715eccadc9b4f5ff3d5d419012dcdcf0c9d0338df08054
|
3 |
+
size 343290541
|