TCleo commited on
Commit
f401a39
1 Parent(s): 4632ca1

Upload MobileViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +57 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "apple/mobilevit-xx-small",
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.0,
14
+ "classifier_dropout_prob": 0.1,
15
+ "conv_kernel_size": 3,
16
+ "expand_ratio": 2.0,
17
+ "hidden_act": "silu",
18
+ "hidden_dropout_prob": 0.05,
19
+ "hidden_sizes": [
20
+ 64,
21
+ 80,
22
+ 96
23
+ ],
24
+ "id2label": {
25
+ "0": "overripe",
26
+ "1": "ripe",
27
+ "2": "underripe"
28
+ },
29
+ "image_size": 256,
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "overripe": "0",
33
+ "ripe": "1",
34
+ "underripe": "2"
35
+ },
36
+ "layer_norm_eps": 1e-05,
37
+ "mlp_ratio": 2.0,
38
+ "model_type": "mobilevit",
39
+ "neck_hidden_sizes": [
40
+ 16,
41
+ 16,
42
+ 24,
43
+ 48,
44
+ 64,
45
+ 80,
46
+ 320
47
+ ],
48
+ "num_attention_heads": 4,
49
+ "num_channels": 3,
50
+ "output_stride": 32,
51
+ "patch_size": 2,
52
+ "problem_type": "single_label_classification",
53
+ "qkv_bias": true,
54
+ "semantic_loss_ignore_index": 255,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.30.2"
57
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba54c28a7d04cc8c5420da94747135170cbb18ed1d4497fd051a97a4c5933141
3
+ size 3948921