nielsr HF staff commited on
Commit
bf7dfb3
1 Parent(s): 50a9e64

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": "nearest+conv",
41
+ "upscale": 4,
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:4a5f52a20932085557ed115f87c0ee8385e12f2719108c0dfd38c64aedea4710
3
+ size 48460141