Instructions to use marcelittle/ddr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use marcelittle/ddr with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("marcelittle/ddr", 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
Commit ·
cdd4ba7
1
Parent(s): b174de4
Epoch 10
Browse filesFiles changed (27)
- checkpoint-1000/optimizer.binAdded+3
- checkpoint-1000/random_states_0.pklAdded+3
- checkpoint-1000/scheduler.binAdded+3
- checkpoint-1000/unet/config.jsonAdded+52
- checkpoint-1000/unet/diffusion_pytorch_model.safetensorsAdded+3
- checkpoint-1000/unet_ema/config.jsonAdded+58
- checkpoint-1000/unet_ema/diffusion_pytorch_model.safetensorsAdded+3
- checkpoint-500/optimizer.binAdded+3
- checkpoint-500/random_states_0.pklAdded+3
- checkpoint-500/scheduler.binAdded+3
- checkpoint-500/unet/config.jsonAdded+51
- checkpoint-500/unet/diffusion_pytorch_model.safetensorsAdded+3
- checkpoint-500/unet_ema/config.jsonAdded+58
- checkpoint-500/unet_ema/diffusion_pytorch_model.safetensorsAdded+3
- logs/train_unconditional/events.out.tfevents.1700010998.lab.786353.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011334.lab.788300.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011357.lab.788359.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011518.lab.788428.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011541.lab.788489.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011570.lab.788553.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011592.lab.788615.0Added+3
- logs/train_unconditional/events.out.tfevents.1700011633.lab.788677.0Added+3
- logs/train_unconditional/events.out.tfevents.1700015205.lab.789721.0Added+3
- model_index.jsonAdded+12
- scheduler/scheduler_config.jsonAdded+18
- unet/config.jsonAdded+52
- unet/diffusion_pytorch_model.safetensorsAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:a9aceeec64a731e104896cd11a0d1c7a4f75c0e9604f128a01082372032eb7a3size 909763736123version https://git-lfs.github.com/spec/v1oid sha256:5435ddfafbfda9f3e78d51de3c32ed3ca5a516eb3e55a0d34b8d9c4f95192b61size 14344123version https://git-lfs.github.com/spec/v1oid sha256:456b2ef22d0c44efe6fd8378727dcd5d24e4d730fe03642a4dda7acd31b79282size 100012345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "_class_name": "UNet2DModel", "_diffusers_version": "0.24.0.dev0", "_name_or_path": "ddr/checkpoint-500", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:3029b3a88ba424936e56593de36fc40b3a93c06b35a76849f0d3f96c5ae36598size 45474110812345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "_class_name": "UNet2DModel", "_diffusers_version": "0.24.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "decay": 0.9999, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "inv_gamma": 1.0, "layers_per_block": 2, "mid_block_scale_factor": 1, "min_decay": 0.0, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "optimization_step": 500, "out_channels": 3, "power": 0.6666666666666666, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "update_after_step": 0, "upsample_type": "conv", "use_ema_warmup": false}123version https://git-lfs.github.com/spec/v1oid sha256:70307ae09487782bcb7aa803d792e12a1b9262d9158816395135109717d5620csize 454741108123version https://git-lfs.github.com/spec/v1oid sha256:03d67a557f7fb691f47ac44785b442a0c34c2adc08db69d100bd7bd2ee659b6esize 909763736123version https://git-lfs.github.com/spec/v1oid sha256:c2b50a03acd2968cca70b939ab388ca9e7363cf292d9f412db686b42ad222523size 14344123version https://git-lfs.github.com/spec/v1oid sha256:6cf34ac8dd2addc454aeb1ee4eaba3267c2841857e117be40ac2ed02cf581c9csize 1000123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "UNet2DModel", "_diffusers_version": "0.24.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:3c6cc8423fce09855c0219f554e80c40d7ae885a4432eacd860a31f336e07bf5size 45474110812345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "_class_name": "UNet2DModel", "_diffusers_version": "0.24.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "decay": 0.9999, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "inv_gamma": 1.0, "layers_per_block": 2, "mid_block_scale_factor": 1, "min_decay": 0.0, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "optimization_step": 500, "out_channels": 3, "power": 0.75, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "update_after_step": 0, "upsample_type": "conv", "use_ema_warmup": true}123version https://git-lfs.github.com/spec/v1oid sha256:792f0507a029ee1244903b809071f26bf0703fa646447b4d56caa25b2d18e8f4size 454741108123version https://git-lfs.github.com/spec/v1oid sha256:05cb3dd4bb4ac44caf983918ff8952906b6f560332a16e3db63376be8ee8f0c7size 88123version https://git-lfs.github.com/spec/v1oid sha256:9303af4880926589ce57dff858f811af8eceacf5ca87d5cfcd2a6ccf70fc3357size 88123version https://git-lfs.github.com/spec/v1oid sha256:f70fbf7db76e90d677a8bc669323d6da6a581a6dde07afe27acf6b3fcd721296size 88123version https://git-lfs.github.com/spec/v1oid sha256:d940f62f090f62d2cc8d866b2fee3896fdd3eb6f70f69a6f5be37eab4179417asize 4534123version https://git-lfs.github.com/spec/v1oid sha256:7913218b544ab9969c70e032d495e1bc9f5ecf861640c10dfddfa7130f9c8244size 2824123version https://git-lfs.github.com/spec/v1oid sha256:dc57775c1b2c8e0bdb036b0b52124305306851ba92df620c3e5ac8200fef777fsize 2995123version https://git-lfs.github.com/spec/v1oid sha256:8a5986e20d978381890ac3886837c90063bfedc1c2bf0daf7495ed4a4732860dsize 3337123version https://git-lfs.github.com/spec/v1oid sha256:22275f2770d111c3e4a7fe4a32f0fc40ab635805770ea92eb421be08af635075size 4714276123version https://git-lfs.github.com/spec/v1oid sha256:aa11bb7dd95fc05c7a586de6af44e245044f3827938ef27f91060d07be83b52esize 1497375123456789101112{ "_class_name": "DDPMPipeline", "_diffusers_version": "0.24.0.dev0", "scheduler": [ "diffusers", "DDPMScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}123456789101112131415161718{ "_class_name": "DDPMScheduler", "_diffusers_version": "0.24.0.dev0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "epsilon", "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_small"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "_class_name": "UNet2DModel", "_diffusers_version": "0.24.0.dev0", "_name_or_path": "ddr/checkpoint-500", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:bb451de17df5fe84dbb8a2af40f026edda97c1d0f10b24f6b30625dd87862298size 454741108checkpoint-1000/optimizer.binAdded+3
checkpoint-1000/random_states_0.pklAdded+3
checkpoint-1000/scheduler.binAdded+3
checkpoint-1000/unet/config.jsonAdded+52
checkpoint-1000/unet/diffusion_pytorch_model.safetensorsAdded+3
checkpoint-1000/unet_ema/config.jsonAdded+58
checkpoint-1000/unet_ema/diffusion_pytorch_model.safetensorsAdded+3
checkpoint-500/optimizer.binAdded+3
checkpoint-500/random_states_0.pklAdded+3
checkpoint-500/scheduler.binAdded+3
checkpoint-500/unet/config.jsonAdded+51
checkpoint-500/unet/diffusion_pytorch_model.safetensorsAdded+3
checkpoint-500/unet_ema/config.jsonAdded+58
checkpoint-500/unet_ema/diffusion_pytorch_model.safetensorsAdded+3
logs/train_unconditional/events.out.tfevents.1700010998.lab.786353.0Added+3
logs/train_unconditional/events.out.tfevents.1700011334.lab.788300.0Added+3
logs/train_unconditional/events.out.tfevents.1700011357.lab.788359.0Added+3
logs/train_unconditional/events.out.tfevents.1700011518.lab.788428.0Added+3
logs/train_unconditional/events.out.tfevents.1700011541.lab.788489.0Added+3
logs/train_unconditional/events.out.tfevents.1700011570.lab.788553.0Added+3
logs/train_unconditional/events.out.tfevents.1700011592.lab.788615.0Added+3
logs/train_unconditional/events.out.tfevents.1700011633.lab.788677.0Added+3
logs/train_unconditional/events.out.tfevents.1700015205.lab.789721.0Added+3
model_index.jsonAdded+12
scheduler/scheduler_config.jsonAdded+18
unet/config.jsonAdded+52
unet/diffusion_pytorch_model.safetensorsAdded+3