nielsr HF staff commited on
Commit
54e8c9c
1 Parent(s): 8d9e8f9

Upload Swin2SRForImageSuperResolution

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