h3110Fr13nd commited on
Commit
44118c8
1 Parent(s): f21b034

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +41 -0
  2. model.onnx +3 -0
  3. preprocessor_config.json +7 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "caidas/swin2SR-lightweight-x2-64",
3
+ "architectures": [
4
+ "Swin2SRForImageSuperResolution"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 6,
9
+ 6,
10
+ 6,
11
+ 6
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 60,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "image_size": 64,
18
+ "img_range": 1.0,
19
+ "initializer_range": 0.02,
20
+ "layer_norm_eps": 1e-05,
21
+ "mlp_ratio": 2.0,
22
+ "model_type": "swin2sr",
23
+ "num_channels": 3,
24
+ "num_channels_out": 3,
25
+ "num_heads": [
26
+ 6,
27
+ 6,
28
+ 6,
29
+ 6
30
+ ],
31
+ "num_layers": 4,
32
+ "patch_size": 1,
33
+ "path_norm": true,
34
+ "qkv_bias": true,
35
+ "resi_connection": "1conv",
36
+ "transformers_version": "4.44.2",
37
+ "upsampler": "pixelshuffledirect",
38
+ "upscale": 2,
39
+ "use_absolute_embeddings": false,
40
+ "window_size": 8
41
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16cd8649b88fbab1457d8a1a9f2df7f1b76f53677dd5b19ea5e77079d7840ed1
3
+ size 7612647
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
+ }