TheSleepyJo commited on
Commit
b588982
1 Parent(s): d6eae7a

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": "not_fresh",
28
+ "2": "spoiled",
29
+ "3": "very_fresh"
30
+ },
31
+ "image_size": 256,
32
+ "initializer_range": 0.02,
33
+ "label2id": {
34
+ "fresh": "0",
35
+ "not_fresh": "1",
36
+ "spoiled": "2",
37
+ "very_fresh": "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.31.0",
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:e23ef57aa65d0768fe7d8fadbf18f1c13c68e8c65b009b983c5781351ee98649
3
+ size 17724225