Xenova HF staff commited on
Commit
5ba251d
·
verified ·
1 Parent(s): 7021fcb

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +9 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-Swin2SRModel",
4
+ "architectures": [
5
+ "Swin2SRModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "depths": [
9
+ 1,
10
+ 2,
11
+ 1
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 16,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "image_size": 32,
18
+ "img_range": 1.0,
19
+ "initializer_range": 0.02,
20
+ "layer_norm_eps": 1e-05,
21
+ "mlp_ratio": 2.0,
22
+ "model_type": "swin2sr",
23
+ "num_channels": 3,
24
+ "num_channels_out": 3,
25
+ "num_heads": [
26
+ 2,
27
+ 2,
28
+ 4
29
+ ],
30
+ "num_layers": 3,
31
+ "patch_size": 1,
32
+ "path_norm": true,
33
+ "qkv_bias": true,
34
+ "resi_connection": "1conv",
35
+ "transformers_version": "4.48.2",
36
+ "upsampler": "pixelshuffle",
37
+ "upscale": 2,
38
+ "use_absolute_embeddings": false,
39
+ "window_size": 2
40
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71888b229682fcb8b98348abf4c3810f97d9605db6a4d0a40cf95b3d2a1cb3d4
3
+ size 499506
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
+ }