add model
Browse files- model_index.json +16 -0
- scheduler/scheduler_config.json +12 -0
- unet/config.json +37 -0
- unet/diffusion_pytorch_model.bin +3 -0
- vqvae/config.json +29 -0
- vqvae/diffusion_pytorch_model.bin +3 -0
model_index.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "LDMSuperResolutionPipeline",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"scheduler": [
|
5 |
+
"diffusers",
|
6 |
+
"DDIMScheduler"
|
7 |
+
],
|
8 |
+
"unet": [
|
9 |
+
"diffusers",
|
10 |
+
"UNet2DModel"
|
11 |
+
],
|
12 |
+
"vqvae": [
|
13 |
+
"diffusers",
|
14 |
+
"VQModel"
|
15 |
+
]
|
16 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"beta_end": 0.0155,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.0015,
|
7 |
+
"clip_sample": false,
|
8 |
+
"num_train_timesteps": 1000,
|
9 |
+
"set_alpha_to_one": true,
|
10 |
+
"steps_offset": 1,
|
11 |
+
"trained_betas": null
|
12 |
+
}
|
unet/config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "/home/suraj_huggingface_co/.cache/huggingface/diffusers/models--duongna--ldm-super-resolution/snapshots/e2e5fa6236896eb4dcc1d117dde23114542dde7d/unet",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"attention_head_dim": 32,
|
7 |
+
"block_out_channels": [
|
8 |
+
160,
|
9 |
+
320,
|
10 |
+
320,
|
11 |
+
640
|
12 |
+
],
|
13 |
+
"center_input_sample": false,
|
14 |
+
"down_block_types": [
|
15 |
+
"DownBlock2D",
|
16 |
+
"DownBlock2D",
|
17 |
+
"DownBlock2D",
|
18 |
+
"AttnDownBlock2D"
|
19 |
+
],
|
20 |
+
"downsample_padding": 1,
|
21 |
+
"flip_sin_to_cos": true,
|
22 |
+
"freq_shift": 0,
|
23 |
+
"in_channels": 6,
|
24 |
+
"layers_per_block": 2,
|
25 |
+
"mid_block_scale_factor": 1,
|
26 |
+
"norm_eps": 1e-05,
|
27 |
+
"norm_num_groups": 32,
|
28 |
+
"out_channels": 3,
|
29 |
+
"sample_size": 64,
|
30 |
+
"time_embedding_type": "positional",
|
31 |
+
"up_block_types": [
|
32 |
+
"AttnUpBlock2D",
|
33 |
+
"UpBlock2D",
|
34 |
+
"UpBlock2D",
|
35 |
+
"UpBlock2D"
|
36 |
+
]
|
37 |
+
}
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:932989fbccc2aa77e143bb8e3f5db46b650c1a7bb0003b5d541d417e18c6f3b3
|
3 |
+
size 454611821
|
vqvae/config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "VQModel",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "/home/suraj_huggingface_co/.cache/huggingface/diffusers/models--duongna--ldm-super-resolution/snapshots/e2e5fa6236896eb4dcc1d117dde23114542dde7d/vqvae",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"block_out_channels": [
|
7 |
+
128,
|
8 |
+
256,
|
9 |
+
512
|
10 |
+
],
|
11 |
+
"down_block_types": [
|
12 |
+
"DownEncoderBlock2D",
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D"
|
15 |
+
],
|
16 |
+
"in_channels": 3,
|
17 |
+
"latent_channels": 3,
|
18 |
+
"layers_per_block": 2,
|
19 |
+
"norm_num_groups": 32,
|
20 |
+
"num_vq_embeddings": 8192,
|
21 |
+
"out_channels": 3,
|
22 |
+
"sample_size": 256,
|
23 |
+
"up_block_types": [
|
24 |
+
"UpDecoderBlock2D",
|
25 |
+
"UpDecoderBlock2D",
|
26 |
+
"UpDecoderBlock2D"
|
27 |
+
],
|
28 |
+
"vq_embed_dim": null
|
29 |
+
}
|
vqvae/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c58407fc41070ccb9ab63f4ddfb1d13a3e607881033541e41232e41c66b877c9
|
3 |
+
size 221369383
|