Upload MobileViTForImageClassification
Browse files- config.json +61 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "0",
|
26 |
+
"1": "1",
|
27 |
+
"2": "2",
|
28 |
+
"3": "3",
|
29 |
+
"4": "4"
|
30 |
+
},
|
31 |
+
"image_size": 256,
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"label2id": {
|
34 |
+
"0": 0,
|
35 |
+
"1": 1,
|
36 |
+
"2": 2,
|
37 |
+
"3": 3,
|
38 |
+
"4": 4
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-05,
|
41 |
+
"mlp_ratio": 2.0,
|
42 |
+
"model_type": "mobilevit",
|
43 |
+
"neck_hidden_sizes": [
|
44 |
+
16,
|
45 |
+
32,
|
46 |
+
64,
|
47 |
+
96,
|
48 |
+
128,
|
49 |
+
160,
|
50 |
+
640
|
51 |
+
],
|
52 |
+
"num_attention_heads": 4,
|
53 |
+
"num_channels": 3,
|
54 |
+
"output_stride": 32,
|
55 |
+
"patch_size": 2,
|
56 |
+
"problem_type": "single_label_classification",
|
57 |
+
"qkv_bias": true,
|
58 |
+
"semantic_loss_ignore_index": 255,
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.30.2"
|
61 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:294c87d1cf70f81815ad0d5d515bf4cd42043981bf2c94506cd60fcd6de0bb75
|
3 |
+
size 19937401
|