TheSleepyJo
commited on
Commit
•
b834d05
1
Parent(s):
7ed2bf2
Upload MobileViTV2ForImageClassification
Browse files- config.json +55 -0
- 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:5802b238a5da3782780b9b9f8d95da8a5fce2848ae85811da91377a389d54da4
|
3 |
+
size 17724225
|