TCleo commited on
Commit
ee79377
1 Parent(s): ec4c95f

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-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": 4.0,
17
+ "hidden_act": "silu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_sizes": [
20
+ 144,
21
+ 192,
22
+ 240
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
+ 32,
42
+ 64,
43
+ 96,
44
+ 128,
45
+ 160,
46
+ 640
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:7176c3224d1ffd9fe14ed1353fc54b4854e4c9fe3c1e763e5bca14d7b3aed937
3
+ size 19932281