Instructions to use zelinzang/ddpm-ema-flowers-64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zelinzang/ddpm-ema-flowers-64 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zelinzang/ddpm-ema-flowers-64", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Epoch 350
Browse files- checkpoint-14000/optimizer.bin +3 -0
- checkpoint-14000/random_states_0.pkl +3 -0
- checkpoint-14000/scheduler.bin +3 -0
- checkpoint-14000/unet/config.json +46 -0
- checkpoint-14000/unet/diffusion_pytorch_model.bin +3 -0
- checkpoint-14000/unet_ema/config.json +53 -0
- checkpoint-14000/unet_ema/diffusion_pytorch_model.bin +3 -0
- logs/train_unconditional/events.out.tfevents.1678728297.pytorch-51b835aa-mhvxg.112.0 +2 -2
- unet/diffusion_pytorch_model.bin +1 -1
checkpoint-14000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc80b3e92869f88d44850c03995196df747a66dc58db37ddfa03c9cc9756e94f
|
| 3 |
+
size 909763235
|
checkpoint-14000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18c788121b805b37eba6470ac0c1e3f09d9885fa9a8d47bd486f48d01c58e858
|
| 3 |
+
size 15691
|
checkpoint-14000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f2e02c3ceaec195fd72570b2160f0b0ea7afab2b7bc9c7155e126d8be1d8ae5
|
| 3 |
+
size 563
|
checkpoint-14000/unet/config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"add_attention": true,
|
| 6 |
+
"attention_head_dim": 8,
|
| 7 |
+
"block_out_channels": [
|
| 8 |
+
128,
|
| 9 |
+
128,
|
| 10 |
+
256,
|
| 11 |
+
256,
|
| 12 |
+
512,
|
| 13 |
+
512
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"DownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D",
|
| 22 |
+
"AttnDownBlock2D",
|
| 23 |
+
"DownBlock2D"
|
| 24 |
+
],
|
| 25 |
+
"downsample_padding": 1,
|
| 26 |
+
"flip_sin_to_cos": true,
|
| 27 |
+
"freq_shift": 0,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"norm_eps": 1e-05,
|
| 32 |
+
"norm_num_groups": 32,
|
| 33 |
+
"num_class_embeds": null,
|
| 34 |
+
"out_channels": 3,
|
| 35 |
+
"resnet_time_scale_shift": "default",
|
| 36 |
+
"sample_size": 64,
|
| 37 |
+
"time_embedding_type": "positional",
|
| 38 |
+
"up_block_types": [
|
| 39 |
+
"UpBlock2D",
|
| 40 |
+
"AttnUpBlock2D",
|
| 41 |
+
"UpBlock2D",
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"UpBlock2D"
|
| 45 |
+
]
|
| 46 |
+
}
|
checkpoint-14000/unet/diffusion_pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2565599256f3147a820a28a4306e017754815e10cf598e782c1a0f324ce7570
|
| 3 |
+
size 454867325
|
checkpoint-14000/unet_ema/config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"add_attention": true,
|
| 6 |
+
"attention_head_dim": 8,
|
| 7 |
+
"block_out_channels": [
|
| 8 |
+
128,
|
| 9 |
+
128,
|
| 10 |
+
256,
|
| 11 |
+
256,
|
| 12 |
+
512,
|
| 13 |
+
512
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"decay": 0.9999,
|
| 18 |
+
"down_block_types": [
|
| 19 |
+
"DownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D",
|
| 22 |
+
"DownBlock2D",
|
| 23 |
+
"AttnDownBlock2D",
|
| 24 |
+
"DownBlock2D"
|
| 25 |
+
],
|
| 26 |
+
"downsample_padding": 1,
|
| 27 |
+
"flip_sin_to_cos": true,
|
| 28 |
+
"freq_shift": 0,
|
| 29 |
+
"in_channels": 3,
|
| 30 |
+
"inv_gamma": 1.0,
|
| 31 |
+
"layers_per_block": 2,
|
| 32 |
+
"mid_block_scale_factor": 1,
|
| 33 |
+
"min_decay": 0.0,
|
| 34 |
+
"norm_eps": 1e-05,
|
| 35 |
+
"norm_num_groups": 32,
|
| 36 |
+
"num_class_embeds": null,
|
| 37 |
+
"optimization_step": 14000,
|
| 38 |
+
"out_channels": 3,
|
| 39 |
+
"power": 0.75,
|
| 40 |
+
"resnet_time_scale_shift": "default",
|
| 41 |
+
"sample_size": 64,
|
| 42 |
+
"time_embedding_type": "positional",
|
| 43 |
+
"up_block_types": [
|
| 44 |
+
"UpBlock2D",
|
| 45 |
+
"AttnUpBlock2D",
|
| 46 |
+
"UpBlock2D",
|
| 47 |
+
"UpBlock2D",
|
| 48 |
+
"UpBlock2D",
|
| 49 |
+
"UpBlock2D"
|
| 50 |
+
],
|
| 51 |
+
"update_after_step": 0,
|
| 52 |
+
"use_ema_warmup": true
|
| 53 |
+
}
|
checkpoint-14000/unet_ema/diffusion_pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a400c6a627507a59228c8233cb6e22d72775fe08c50abe63aa584c5440397ce
|
| 3 |
+
size 454860989
|
logs/train_unconditional/events.out.tfevents.1678728297.pytorch-51b835aa-mhvxg.112.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86d8899340fe49497ed6a6bfbdf99a57f98f29c58cf5fec1e0d82e7020637327
|
| 3 |
+
size 7298764
|
unet/diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 454867325
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36dbe159b0233123d00ebd3b99de895a55a898ffc48673bb35c7490d1098fcb5
|
| 3 |
size 454867325
|