Xenova HF staff commited on
Commit
65414c4
1 Parent(s): 6d91896

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "apple/deeplabv3-mobilevit-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": 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": "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
+ 32,
78
+ 64,
79
+ 96,
80
+ 128,
81
+ 160,
82
+ 640
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:d9ebc9436f8387fac8595e99566c3b4eae2802bd614924468d7a3d0948e4dbd7
3
+ size 25725066
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb155ceb71ffad0b6785f8101cfa177e4dba18b906511044348c4dd094117598
3
+ size 7095228
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
+ "Add",
8
+ "Gather",
9
+ "Softmax",
10
+ "GlobalAveragePool",
11
+ "Transpose",
12
+ "Relu",
13
+ "Concat",
14
+ "ReduceMean",
15
+ "Resize",
16
+ "Cast",
17
+ "Shape",
18
+ "Div",
19
+ "Constant",
20
+ "Slice",
21
+ "Pow",
22
+ "Sqrt",
23
+ "Reshape",
24
+ "Unsqueeze",
25
+ "MatMul",
26
+ "Conv",
27
+ "Mul",
28
+ "Sub",
29
+ "Sigmoid"
30
+ ],
31
+ "weight_type": "QUInt8"
32
+ }
33
+ }
34
+ }