Instructions to use nroggendorff/nebulae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nroggendorff/nebulae with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nroggendorff/nebulae", 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
Nebulae Model Card
DDPMNebula is a latent noise-to-image diffusion model capable of generating images of nebulas. For more information about how Stable Diffusion functions, please have a look at 🤗's Stable Diffusion blog.
You can use this with the 🧨Diffusers library from Hugging Face.
Diffusers
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("nroggendorff/nebulae")
pipe = pipeline.to("cuda")
image = pipe().images[0]
image.save("nebula.png")
Model Details
train_batch_size: 16eval_batch_size: 16num_epochs: 50gradient_accumulation_steps: 1learning_rate: 1e-4lr_warmup_steps: 500mixed_precision: "fp16"eval_metric: "mean_squared_error"
Limitations
- The model does not achieve perfect photorealism
- The model cannot render legible text
- The model was trained on a medium-to-large-scale dataset: Nebulae
Developed by
- Noa Linden Roggendorff
This model card was written by Noa Roggendorff and is based on the Stable Diffusion v1-5 Model Card.
- Downloads last month
- 31
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
