Spaces:
Sleeping
Sleeping
duyduong9htv
commited on
Commit
·
2969de6
1
Parent(s):
8b3e556
Upload model
Browse files
model_artifacts/config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
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": "Chevrolet_Equinox",
|
13 |
+
"1": "Chevrolet_Silverado_1500",
|
14 |
+
"10": "Mazda_CX-5",
|
15 |
+
"11": "Nissan_Rogue",
|
16 |
+
"12": "RAM_1500",
|
17 |
+
"13": "RAM_2500",
|
18 |
+
"14": "Toyota_Camry",
|
19 |
+
"2": "Ford_Escape",
|
20 |
+
"3": "Ford_Explorer",
|
21 |
+
"4": "Ford_F-150",
|
22 |
+
"5": "GMC_Sierra_1500",
|
23 |
+
"6": "Honda_CR-V",
|
24 |
+
"7": "Jeep_Compass",
|
25 |
+
"8": "Jeep_Grand_Cherokee",
|
26 |
+
"9": "Jeep_Wrangler"
|
27 |
+
},
|
28 |
+
"image_size": 224,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Chevrolet_Equinox": "0",
|
33 |
+
"Chevrolet_Silverado_1500": "1",
|
34 |
+
"Ford_Escape": "2",
|
35 |
+
"Ford_Explorer": "3",
|
36 |
+
"Ford_F-150": "4",
|
37 |
+
"GMC_Sierra_1500": "5",
|
38 |
+
"Honda_CR-V": "6",
|
39 |
+
"Jeep_Compass": "7",
|
40 |
+
"Jeep_Grand_Cherokee": "8",
|
41 |
+
"Jeep_Wrangler": "9",
|
42 |
+
"Mazda_CX-5": "10",
|
43 |
+
"Nissan_Rogue": "11",
|
44 |
+
"RAM_1500": "12",
|
45 |
+
"RAM_2500": "13",
|
46 |
+
"Toyota_Camry": "14"
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"model_type": "vit",
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_channels": 3,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"patch_size": 16,
|
54 |
+
"problem_type": "single_label_classification",
|
55 |
+
"qkv_bias": true,
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.28.0"
|
58 |
+
}
|
model_artifacts/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 |
+
}
|
model_artifacts/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ccaa559a58357b34c270bfa63b132900c6741b2406e9369d328d6efc0ab9a28
|
3 |
+
size 343308717
|