hf-transformers-bot
commited on
Commit
•
3a2780d
1
Parent(s):
8bd1d02
Upload tiny models for Swin2SRForImageSuperResolution
Browse files- config.json +38 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Swin2SRForImageSuperResolution"
|
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.34.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:14eb6fb8cd581d6563ece3b1c523222b4a719f8179a5993ddc5da66203226b0d
|
3 |
+
size 793453
|