Commit
•
5138fc0
1
Parent(s):
1524c40
Upload tiny models for MobileViTModel
Browse files- config.json +46 -0
- preprocessor_config.json +16 -0
- pytorch_model.bin +3 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiny_models/mobilevit/MobileViTModel",
|
3 |
+
"architectures": [
|
4 |
+
"MobileViTModel"
|
5 |
+
],
|
6 |
+
"aspp_dropout_prob": 0.1,
|
7 |
+
"aspp_out_channels": 256,
|
8 |
+
"atrous_rates": [
|
9 |
+
6,
|
10 |
+
12,
|
11 |
+
18
|
12 |
+
],
|
13 |
+
"attention_probs_dropout_prob": 0.1,
|
14 |
+
"classifier_dropout_prob": 0.1,
|
15 |
+
"conv_kernel_size": 3,
|
16 |
+
"expand_ratio": 4.0,
|
17 |
+
"hidden_act": "silu",
|
18 |
+
"hidden_dropout_prob": 0.1,
|
19 |
+
"hidden_sizes": [
|
20 |
+
144,
|
21 |
+
192,
|
22 |
+
240
|
23 |
+
],
|
24 |
+
"image_size": 32,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"mlp_ratio": 2.0,
|
28 |
+
"model_type": "mobilevit",
|
29 |
+
"neck_hidden_sizes": [
|
30 |
+
16,
|
31 |
+
32,
|
32 |
+
64,
|
33 |
+
96,
|
34 |
+
128,
|
35 |
+
160,
|
36 |
+
640
|
37 |
+
],
|
38 |
+
"num_attention_heads": 4,
|
39 |
+
"num_channels": 3,
|
40 |
+
"output_stride": 32,
|
41 |
+
"patch_size": 2,
|
42 |
+
"qkv_bias": true,
|
43 |
+
"semantic_loss_ignore_index": 255,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.28.0.dev0"
|
46 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 32,
|
4 |
+
"width": 32
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_flip_channel_order": true,
|
8 |
+
"do_rescale": true,
|
9 |
+
"do_resize": true,
|
10 |
+
"image_processor_type": "MobileViTImageProcessor",
|
11 |
+
"resample": 2,
|
12 |
+
"rescale_factor": 0.00392156862745098,
|
13 |
+
"size": {
|
14 |
+
"shortest_edge": 32
|
15 |
+
}
|
16 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b1d1c78553e36680307ed5451c74d4e9596711a26142815ebc71a1f9c1b50e0
|
3 |
+
size 19915761
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f550f246a3c5636ec4312202821b691a144e0691ee901e693f14aca3dfac6fa2
|
3 |
+
size 20192368
|