thanhhau097 commited on
Commit
e345b33
1 Parent(s): 7e996bb

Upload 3 files

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