Spaces:
Running
Running
Montikiller
commited on
Commit
•
27c5b1f
1
Parent(s):
42a4760
Upload 4 files
Browse files- config.json +47 -0
- modelo.h5 +3 -0
- preprocessor_config.json +17 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ViTForImageClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"encoder_stride": 16,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "0",
|
12 |
+
"1": "1",
|
13 |
+
"2": "2",
|
14 |
+
"3": "3",
|
15 |
+
"4": "4",
|
16 |
+
"5": "5",
|
17 |
+
"6": "6",
|
18 |
+
"7": "7",
|
19 |
+
"8": "8",
|
20 |
+
"9": "9"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"0": "0",
|
27 |
+
"1": "1",
|
28 |
+
"2": "2",
|
29 |
+
"3": "3",
|
30 |
+
"4": "4",
|
31 |
+
"5": "5",
|
32 |
+
"6": "6",
|
33 |
+
"7": "7",
|
34 |
+
"8": "8",
|
35 |
+
"9": "9"
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"model_type": "vit",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_channels": 3,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"patch_size": 16,
|
43 |
+
"problem_type": "single_label_classification",
|
44 |
+
"qkv_bias": true,
|
45 |
+
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.22.2"
|
47 |
+
}
|
modelo.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6258e39eecf66989ae90942cbe1e81f8285e175fd8b788b3b2145127a3e1fe01
|
3 |
+
size 458336
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"resample": 2,
|
16 |
+
"size": 224
|
17 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c210f40c8e89530e905e8645546a4cd87c1fe5144ff7ec5ddb0f52c392f938e
|
3 |
+
size 458336
|