Xenova HF staff commited on
Commit
f2d419a
1 Parent(s): e466308

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "apple/deeplabv3-mobilevit-xx-small",
3
+ "architectures": [
4
+ "MobileViTForSemanticSegmentation"
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": 2.0,
17
+ "hidden_act": "silu",
18
+ "hidden_dropout_prob": 0.05,
19
+ "hidden_sizes": [
20
+ 64,
21
+ 80,
22
+ 96
23
+ ],
24
+ "id2label": {
25
+ "0": "background",
26
+ "1": "aeroplane",
27
+ "2": "bicycle",
28
+ "3": "bird",
29
+ "4": "boat",
30
+ "5": "bottle",
31
+ "6": "bus",
32
+ "7": "car",
33
+ "8": "cat",
34
+ "9": "chair",
35
+ "10": "cow",
36
+ "11": "diningtable",
37
+ "12": "dog",
38
+ "13": "horse",
39
+ "14": "motorbike",
40
+ "15": "person",
41
+ "16": "pottedplant",
42
+ "17": "sheep",
43
+ "18": "sofa",
44
+ "19": "train",
45
+ "20": "tvmonitor"
46
+ },
47
+ "image_size": 512,
48
+ "initializer_range": 0.02,
49
+ "label2id": {
50
+ "aeroplane": 1,
51
+ "background": 0,
52
+ "bicycle": 2,
53
+ "bird": 3,
54
+ "boat": 4,
55
+ "bottle": 5,
56
+ "bus": 6,
57
+ "car": 7,
58
+ "cat": 8,
59
+ "chair": 9,
60
+ "cow": 10,
61
+ "diningtable": 11,
62
+ "dog": 12,
63
+ "horse": 13,
64
+ "motorbike": 14,
65
+ "person": 15,
66
+ "pottedplant": 16,
67
+ "sheep": 17,
68
+ "sofa": 18,
69
+ "train": 19,
70
+ "tvmonitor": 20
71
+ },
72
+ "layer_norm_eps": 1e-05,
73
+ "mlp_ratio": 2.0,
74
+ "model_type": "mobilevit",
75
+ "neck_hidden_sizes": [
76
+ 16,
77
+ 16,
78
+ 24,
79
+ 48,
80
+ 64,
81
+ 80,
82
+ 320
83
+ ],
84
+ "num_attention_heads": 4,
85
+ "num_channels": 3,
86
+ "output_stride": 16,
87
+ "patch_size": 2,
88
+ "qkv_bias": true,
89
+ "semantic_loss_ignore_index": 255,
90
+ "transformers_version": "4.30.2"
91
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:526bc2e2ba04db5e638ee3eaabf96959a8955296a02f690b1e584a58db958caa
3
+ size 7727644
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dc714a550dce9a934c81067f61decfcef39a4df526658cd988d6f2eb3b12ea3
3
+ size 2511467
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 512,
4
+ "width": 512
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": 544
17
+ }
18
+ }
quant_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "MatMul",
8
+ "Unsqueeze",
9
+ "Cast",
10
+ "Relu",
11
+ "Resize",
12
+ "Add",
13
+ "Slice",
14
+ "Constant",
15
+ "Softmax",
16
+ "Mul",
17
+ "Shape",
18
+ "Conv",
19
+ "Reshape",
20
+ "Sub",
21
+ "Transpose",
22
+ "Div",
23
+ "Gather",
24
+ "ReduceMean",
25
+ "Sqrt",
26
+ "GlobalAveragePool",
27
+ "Concat",
28
+ "Pow",
29
+ "Sigmoid"
30
+ ],
31
+ "weight_type": "QUInt8"
32
+ }
33
+ }
34
+ }