nielsr HF staff commited on
Commit
aa18289
1 Parent(s): 4c77a15

Upload Swin2SRForImageSuperResolution

Browse files
Files changed (2) hide show
  1. config.json +44 -0
  2. 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": "pixelshuffle",
41
+ "upscale": 2,
42
+ "use_absolute_embeddings": false,
43
+ "window_size": 8
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adf54cd2539bec31262ce6d6f97fea5079fcb8388bc7eaff0082c0dc0c87259c
3
+ size 48606685