Upload 3 files
Browse files- config.json +83 -0
- preprocessor_config.json +18 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Angle1",
|
26 |
+
"1": "Angle10",
|
27 |
+
"10": "Angle4",
|
28 |
+
"11": "Angle5",
|
29 |
+
"12": "Angle6",
|
30 |
+
"13": "Angle7",
|
31 |
+
"14": "Angle8",
|
32 |
+
"15": "Angle9",
|
33 |
+
"2": "Angle11",
|
34 |
+
"3": "Angle12",
|
35 |
+
"4": "Angle13",
|
36 |
+
"5": "Angle14",
|
37 |
+
"6": "Angle15",
|
38 |
+
"7": "Angle16",
|
39 |
+
"8": "Angle2",
|
40 |
+
"9": "Angle3"
|
41 |
+
},
|
42 |
+
"image_size": 256,
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"label2id": {
|
45 |
+
"Angle1": "0",
|
46 |
+
"Angle10": "1",
|
47 |
+
"Angle11": "2",
|
48 |
+
"Angle12": "3",
|
49 |
+
"Angle13": "4",
|
50 |
+
"Angle14": "5",
|
51 |
+
"Angle15": "6",
|
52 |
+
"Angle16": "7",
|
53 |
+
"Angle2": "8",
|
54 |
+
"Angle3": "9",
|
55 |
+
"Angle4": "10",
|
56 |
+
"Angle5": "11",
|
57 |
+
"Angle6": "12",
|
58 |
+
"Angle7": "13",
|
59 |
+
"Angle8": "14",
|
60 |
+
"Angle9": "15"
|
61 |
+
},
|
62 |
+
"layer_norm_eps": 1e-05,
|
63 |
+
"mlp_ratio": 2.0,
|
64 |
+
"model_type": "mobilevit",
|
65 |
+
"neck_hidden_sizes": [
|
66 |
+
16,
|
67 |
+
32,
|
68 |
+
64,
|
69 |
+
96,
|
70 |
+
128,
|
71 |
+
160,
|
72 |
+
640
|
73 |
+
],
|
74 |
+
"num_attention_heads": 4,
|
75 |
+
"num_channels": 3,
|
76 |
+
"output_stride": 32,
|
77 |
+
"patch_size": 2,
|
78 |
+
"problem_type": "single_label_classification",
|
79 |
+
"qkv_bias": true,
|
80 |
+
"semantic_loss_ignore_index": 255,
|
81 |
+
"torch_dtype": "float32",
|
82 |
+
"transformers_version": "4.28.0"
|
83 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 256,
|
4 |
+
"width": 256
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_flip_channel_order": true,
|
8 |
+
"do_flip_channels": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "MobileViTFeatureExtractor",
|
12 |
+
"image_processor_type": "MobileViTFeatureExtractor",
|
13 |
+
"resample": 2,
|
14 |
+
"rescale_factor": 0.00392156862745098,
|
15 |
+
"size": {
|
16 |
+
"shortest_edge": 288
|
17 |
+
}
|
18 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a38cd756aa077adb6f9a364e48a68cce609c689be9d39d2364e57210cde5665
|
3 |
+
size 19965625
|