Commit
·
2f46357
1
Parent(s):
b95a755
Upload tiny models for MobileViTV2Model
Browse files- config.json +40 -0
- preprocessor_config.json +16 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MobileViTV2Model"
|
4 |
+
],
|
5 |
+
"aspp_dropout_prob": 0.1,
|
6 |
+
"aspp_out_channels": 512,
|
7 |
+
"atrous_rates": [
|
8 |
+
6,
|
9 |
+
12,
|
10 |
+
18
|
11 |
+
],
|
12 |
+
"attn_dropout": 0.0,
|
13 |
+
"base_attn_unit_dims": [
|
14 |
+
128,
|
15 |
+
192,
|
16 |
+
256
|
17 |
+
],
|
18 |
+
"classifier_dropout_prob": 0.1,
|
19 |
+
"conv_kernel_size": 3,
|
20 |
+
"expand_ratio": 2.0,
|
21 |
+
"ffn_dropout": 0.0,
|
22 |
+
"ffn_multiplier": 2,
|
23 |
+
"hidden_act": "swish",
|
24 |
+
"image_size": 64,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"model_type": "mobilevitv2",
|
28 |
+
"n_attn_blocks": [
|
29 |
+
2,
|
30 |
+
4,
|
31 |
+
3
|
32 |
+
],
|
33 |
+
"num_channels": 3,
|
34 |
+
"output_stride": 32,
|
35 |
+
"patch_size": 2,
|
36 |
+
"semantic_loss_ignore_index": 255,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.30.0.dev0",
|
39 |
+
"width_multiplier": 0.25
|
40 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 64,
|
4 |
+
"width": 64
|
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": 64
|
15 |
+
}
|
16 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc888211d6a240773d5711020a6f606cc5fd1f1727f8776df09c57685c919073
|
3 |
+
size 1257081
|