Upload 3 files
Browse files- config.json +39 -0
- model.onnx +3 -0
- preprocessor_config.json +9 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hf-internal-testing/tiny-random-Swin2SRModel",
|
3 |
+
"architectures": [
|
4 |
+
"Swin2SRModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
1,
|
9 |
+
2,
|
10 |
+
1
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"embed_dim": 16,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.0,
|
16 |
+
"image_size": 32,
|
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_channels_out": 3,
|
24 |
+
"num_heads": [
|
25 |
+
2,
|
26 |
+
2,
|
27 |
+
4
|
28 |
+
],
|
29 |
+
"num_layers": 3,
|
30 |
+
"patch_size": 1,
|
31 |
+
"path_norm": true,
|
32 |
+
"qkv_bias": true,
|
33 |
+
"resi_connection": "1conv",
|
34 |
+
"transformers_version": "4.36.0.dev0",
|
35 |
+
"upsampler": "pixelshuffle",
|
36 |
+
"upscale": 2,
|
37 |
+
"use_absolute_embeddings": false,
|
38 |
+
"window_size": 2
|
39 |
+
}
|
model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4748d944ba5821e34c21fdb220d5ad29a066f755cd94d974a56a89fb8996fb6
|
3 |
+
size 1232348
|
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 |
+
}
|