TheSleepyJo commited on
Commit
c0e3943
1 Parent(s): d5aca7c

Upload MobileViTV2ForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "apple/mobilevitv2-1.0-imagenet1k-256",
3
+ "architectures": [
4
+ "MobileViTV2ForImageClassification"
5
+ ],
6
+ "aspp_dropout_prob": 0.1,
7
+ "aspp_out_channels": 512,
8
+ "atrous_rates": [
9
+ 6,
10
+ 12,
11
+ 18
12
+ ],
13
+ "attn_dropout": 0.0,
14
+ "base_attn_unit_dims": [
15
+ 128,
16
+ 192,
17
+ 256
18
+ ],
19
+ "classifier_dropout_prob": 0.1,
20
+ "conv_kernel_size": 3,
21
+ "expand_ratio": 2.0,
22
+ "ffn_dropout": 0.0,
23
+ "ffn_multiplier": 2,
24
+ "hidden_act": "swish",
25
+ "id2label": {
26
+ "0": "fresh",
27
+ "1": "most_fresh",
28
+ "2": "not_fresh",
29
+ "3": "spoiled"
30
+ },
31
+ "image_size": 256,
32
+ "initializer_range": 0.02,
33
+ "label2id": {
34
+ "fresh": "0",
35
+ "most_fresh": "1",
36
+ "not_fresh": "2",
37
+ "spoiled": "3"
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "mlp_ratio": 2.0,
41
+ "model_type": "mobilevitv2",
42
+ "n_attn_blocks": [
43
+ 2,
44
+ 4,
45
+ 3
46
+ ],
47
+ "num_channels": 3,
48
+ "output_stride": 32,
49
+ "patch_size": 2,
50
+ "problem_type": "single_label_classification",
51
+ "semantic_loss_ignore_index": 255,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.34.1",
54
+ "width_multiplier": 1.0
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36d9f6f3442f340d4abee2a9050fb079690fe4219c2744190ba7029826ed4f5a
3
+ size 17724670