mysterious-pie
commited on
Commit
•
99f558f
1
Parent(s):
91af8c2
Upload ViTForImageClassification
Browse files- config.json +74 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "balcony",
|
13 |
+
"1": "bathroom",
|
14 |
+
"2": "bedroom",
|
15 |
+
"3": "billiard",
|
16 |
+
"4": "conference_room",
|
17 |
+
"5": "corridors",
|
18 |
+
"6": "dining_room",
|
19 |
+
"7": "exterior",
|
20 |
+
"8": "food",
|
21 |
+
"9": "gaming",
|
22 |
+
"10": "gym",
|
23 |
+
"11": "kitchen",
|
24 |
+
"12": "living_room",
|
25 |
+
"13": "lobby",
|
26 |
+
"14": "patio",
|
27 |
+
"15": "playroom",
|
28 |
+
"16": "pool",
|
29 |
+
"17": "restaurant",
|
30 |
+
"18": "roof_terrace",
|
31 |
+
"19": "spa_sauna",
|
32 |
+
"20": "stairs",
|
33 |
+
"21": "table_tennis",
|
34 |
+
"22": "window_view"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"balcony": 0,
|
41 |
+
"bathroom": 1,
|
42 |
+
"bedroom": 2,
|
43 |
+
"billiard": 3,
|
44 |
+
"conference_room": 4,
|
45 |
+
"corridors": 5,
|
46 |
+
"dining_room": 6,
|
47 |
+
"exterior": 7,
|
48 |
+
"food": 8,
|
49 |
+
"gaming": 9,
|
50 |
+
"gym": 10,
|
51 |
+
"kitchen": 11,
|
52 |
+
"living_room": 12,
|
53 |
+
"lobby": 13,
|
54 |
+
"patio": 14,
|
55 |
+
"playroom": 15,
|
56 |
+
"pool": 16,
|
57 |
+
"restaurant": 17,
|
58 |
+
"roof_terrace": 18,
|
59 |
+
"spa_sauna": 19,
|
60 |
+
"stairs": 20,
|
61 |
+
"table_tennis": 21,
|
62 |
+
"window_view": 22
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"model_type": "vit",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"patch_size": 16,
|
70 |
+
"problem_type": "single_label_classification",
|
71 |
+
"qkv_bias": true,
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.32.1"
|
74 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:233164f140a63079e0ec2e7d4d522c9d3fcd1d563d1c83ff0721c87027197082
|
3 |
+
size 345782069
|