Upload MobileViTForImageClassification
Browse files- config.json +57 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "apple/mobilevit-x-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 |
+
96,
|
21 |
+
120,
|
22 |
+
144
|
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 |
+
48,
|
43 |
+
64,
|
44 |
+
80,
|
45 |
+
96,
|
46 |
+
384
|
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:c1b7c9c82d36a9b8f740b4b87b14980c09f351a6ffebea86ba724f4f9ac3e2d1
|
3 |
+
size 7893497
|