hf-transformers-bot
commited on
Commit
•
805e771
1
Parent(s):
0213145
Upload tiny models for VanModel
Browse files- config.json +56 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"VanModel"
|
4 |
+
],
|
5 |
+
"depths": [
|
6 |
+
1,
|
7 |
+
1,
|
8 |
+
1,
|
9 |
+
1
|
10 |
+
],
|
11 |
+
"drop_path_rate": 0.0,
|
12 |
+
"dropout_rate": 0.0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_sizes": [
|
15 |
+
16,
|
16 |
+
32,
|
17 |
+
64,
|
18 |
+
128
|
19 |
+
],
|
20 |
+
"id2label": {
|
21 |
+
"0": "LABEL_0",
|
22 |
+
"1": "LABEL_1",
|
23 |
+
"2": "LABEL_2"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-06,
|
33 |
+
"layer_scale_init_value": 0.01,
|
34 |
+
"mlp_ratios": [
|
35 |
+
8,
|
36 |
+
8,
|
37 |
+
4,
|
38 |
+
4
|
39 |
+
],
|
40 |
+
"model_type": "van",
|
41 |
+
"num_channels": 3,
|
42 |
+
"patch_sizes": [
|
43 |
+
7,
|
44 |
+
3,
|
45 |
+
3,
|
46 |
+
3
|
47 |
+
],
|
48 |
+
"strides": [
|
49 |
+
4,
|
50 |
+
2,
|
51 |
+
2,
|
52 |
+
2
|
53 |
+
],
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.28.0.dev0"
|
56 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"crop_size": 224,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"image_mean": [
|
8 |
+
0.5,
|
9 |
+
0.5,
|
10 |
+
0.5
|
11 |
+
],
|
12 |
+
"image_processor_type": "ConvNextImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.5,
|
15 |
+
0.5,
|
16 |
+
0.5
|
17 |
+
],
|
18 |
+
"resample": 2,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b3803d9ffbb5896a36e571fe6d305c32ea82b37903af95fd0ae42b3105968f6
|
3 |
+
size 1589669
|