Xenova HF staff commited on
Commit
a0f9486
1 Parent(s): dab721c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "caidas/swin2SR-classical-sr-x4-64",
3
+ "architectures": [
4
+ "Swin2SRForImageSuperResolution"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 6,
9
+ 6,
10
+ 6,
11
+ 6,
12
+ 6,
13
+ 6
14
+ ],
15
+ "drop_path_rate": 0.1,
16
+ "embed_dim": 180,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "image_size": 64,
20
+ "img_range": 1.0,
21
+ "initializer_range": 0.02,
22
+ "layer_norm_eps": 1e-05,
23
+ "mlp_ratio": 2.0,
24
+ "model_type": "swin2sr",
25
+ "num_channels": 3,
26
+ "num_channels_out": 3,
27
+ "num_heads": [
28
+ 6,
29
+ 6,
30
+ 6,
31
+ 6,
32
+ 6,
33
+ 6
34
+ ],
35
+ "num_layers": 6,
36
+ "patch_size": 1,
37
+ "path_norm": true,
38
+ "qkv_bias": true,
39
+ "resi_connection": "1conv",
40
+ "transformers_version": "4.36.0.dev0",
41
+ "upsampler": "pixelshuffle",
42
+ "upscale": 4,
43
+ "use_absolute_embeddings": false,
44
+ "window_size": 8
45
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95c8b7c898a6d08c788e5d9e7c7e78cfb2956f2cbbabe78264002f9704554992
3
+ size 55020184
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4ad39342ee90fe3b4903a1d4152fe2d8d5fa0dcc877b69e1367a2e8ad4fc8e9
3
+ size 21622515
preprocessor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_pad": true,
3
+ "do_rescale": true,
4
+ "image_processor_type": "Swin2SRImageProcessor",
5
+ "pad_size": 8,
6
+ "rescale_factor": 0.00392156862745098
7
+ }
quantize_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ReduceSum",
8
+ "Cast",
9
+ "ConstantOfShape",
10
+ "Transpose",
11
+ "Expand",
12
+ "Erf",
13
+ "Mul",
14
+ "Pow",
15
+ "Not",
16
+ "Relu",
17
+ "Sigmoid",
18
+ "Slice",
19
+ "Pad",
20
+ "Where",
21
+ "Concat",
22
+ "Add",
23
+ "Gather",
24
+ "Equal",
25
+ "Mod",
26
+ "Unsqueeze",
27
+ "ScatterND",
28
+ "Shape",
29
+ "Div",
30
+ "Exp",
31
+ "Reshape",
32
+ "Conv",
33
+ "LeakyRelu",
34
+ "Constant",
35
+ "ReduceMean",
36
+ "Range",
37
+ "MatMul",
38
+ "DepthToSpace",
39
+ "Sub",
40
+ "Abs",
41
+ "Clip",
42
+ "Sqrt",
43
+ "Softmax"
44
+ ],
45
+ "weight_type": "QUInt8"
46
+ }
47
+ }
48
+ }