Xenova HF staff commited on
Commit
1eccabf
1 Parent(s): acbde8b

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "25c4d0d9954a8205951fab1265a85ee71f44a4b9",
3
+ "_name_or_path": "hustvl/vitmatte-small-distinctions-646",
4
+ "architectures": [
5
+ "VitMatteForImageMatting"
6
+ ],
7
+ "backbone_config": {
8
+ "hidden_size": 384,
9
+ "image_size": 512,
10
+ "model_type": "vitdet",
11
+ "num_attention_heads": 6,
12
+ "num_channels": 4,
13
+ "out_features": [
14
+ "stage12"
15
+ ],
16
+ "out_indices": [
17
+ 12
18
+ ],
19
+ "residual_block_indices": [
20
+ 2,
21
+ 5,
22
+ 8,
23
+ 11
24
+ ],
25
+ "use_relative_position_embeddings": true,
26
+ "window_block_indices": [
27
+ 0,
28
+ 1,
29
+ 3,
30
+ 4,
31
+ 6,
32
+ 7,
33
+ 9,
34
+ 10
35
+ ],
36
+ "window_size": 14
37
+ },
38
+ "batch_norm_eps": 1e-05,
39
+ "convstream_hidden_sizes": [
40
+ 48,
41
+ 96,
42
+ 192
43
+ ],
44
+ "fusion_hidden_sizes": [
45
+ 256,
46
+ 128,
47
+ 64,
48
+ 32
49
+ ],
50
+ "hidden_size": 384,
51
+ "initializer_range": 0.02,
52
+ "model_type": "vitmatte",
53
+ "torch_dtype": "float32",
54
+ "transformers_version": null
55
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21306ed8c990f563abaa0d8b58936ab29a2288c7f4a92a9d44db3d08f8dcc6d7
3
+ size 103866744
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:390f73f27f3b9dcf5eb9785b0183d7f4606349c341a2a4da4f7d25e2465e85a1
3
+ size 27474404
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "VitMatteImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "rescale_factor": 0.00392156862745098,
17
+ "size_divisibility": 32
18
+ }
quantize_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ConstantOfShape",
8
+ "Relu",
9
+ "Constant",
10
+ "Conv",
11
+ "Shape",
12
+ "Add",
13
+ "Mul",
14
+ "Erf",
15
+ "Unsqueeze",
16
+ "MatMul",
17
+ "ReduceMean",
18
+ "Sub",
19
+ "Squeeze",
20
+ "Mod",
21
+ "Cast",
22
+ "Resize",
23
+ "Concat",
24
+ "Slice",
25
+ "Gather",
26
+ "Einsum",
27
+ "Div",
28
+ "Split",
29
+ "Pad",
30
+ "Sigmoid",
31
+ "Transpose",
32
+ "Softmax",
33
+ "Sqrt",
34
+ "Reshape",
35
+ "Pow",
36
+ "Range",
37
+ "Identity"
38
+ ],
39
+ "weight_type": "QUInt8"
40
+ }
41
+ }
42
+ }