Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

thanhtuit96
/
ddpm

Diffusers
TensorBoard
Safetensors
DDPMPipeline
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use thanhtuit96/ddpm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use thanhtuit96/ddpm with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("thanhtuit96/ddpm", 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
ddpm
3.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 111 commits
thanhtuit96's picture
thanhtuit96
Epoch 3119
69bee72 about 2 years ago
  • checkpoint-154500
    Epoch 3089 about 2 years ago
  • checkpoint-156000
    Epoch 3119 about 2 years ago
  • logs
    Epoch 3119 about 2 years ago
  • samples
    Epoch 3119 about 2 years ago
  • scheduler
    Epoch 29 about 2 years ago
  • unet
    Epoch 3119 about 2 years ago
  • .gitattributes
    7.08 kB
    Epoch 3119 about 2 years ago
  • README.md
    44 Bytes
    Create README.md about 2 years ago
  • model_index.json
    181 Bytes
    Epoch 29 about 2 years ago