Unconditional Image Generation
Diffusers
TensorBoard
English
diffusion
ddpm
generative-ai
pavement-distress
crack-segmentation
civil-engineering
digital-twin
astm-d6433-23
Instructions to use atalaghat/diffusion2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use atalaghat/diffusion2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("atalaghat/diffusion2", 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
Download samples/0149.png from atalaghat/diffusion2: direct link, hf CLI and curl.
- Browser
- Download file 452 kB
-
https://huggingface.co/atalaghat/diffusion2/resolve/main/samples/0149.png
- Command line
-
hf download hf://atalaghat/diffusion2/samples/0149.png
-
curl -L -o 0149.png https://huggingface.co/atalaghat/diffusion2/resolve/main/samples/0149.png
452 kB
