hf-transformers-bot commited on
Commit
90294e6
1 Parent(s): 99f3145

Upload tiny models for MobileViTForImageClassification

Browse files
Files changed (4) hide show
  1. config.json +46 -0
  2. preprocessor_config.json +16 -0
  3. pytorch_model.bin +3 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiny_models/mobilevit/MobileViTForImageClassification",
3
+ "architectures": [
4
+ "MobileViTForImageClassification"
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:c09da8e104f288f4994bc9b96f87c3e739b5175fc0f77d157297d563ff4aecaa
3
+ size 19924921
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e23220721c60b41688e24de5205ec928d5aa6b89c11803735f6af60c15b5ca3a
3
+ size 20235064