hf-transformers-bot commited on
Commit
cbc59f3
1 Parent(s): 7a0abab

Upload tiny models for Swin2SRModel

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