Instructions to use DeepBird/my_custom_ddpm_train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DeepBird/my_custom_ddpm_train with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DeepBird/my_custom_ddpm_train", 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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -13,4 +13,3 @@ from diffusers import DDPMPipeline
|
|
| 13 |
pipeline = DDPMPipeline.from_pretrained('DeepBird/my_custom_ddpm_train')
|
| 14 |
image = pipeline().images[0]
|
| 15 |
image
|
| 16 |
-
'''
|
|
|
|
| 13 |
pipeline = DDPMPipeline.from_pretrained('DeepBird/my_custom_ddpm_train')
|
| 14 |
image = pipeline().images[0]
|
| 15 |
image
|
|
|