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

  • Log In
  • Sign Up

BiliSakura
/
ddpm-cd

Diffusers
Safetensors
DDPMCDPipeline
ddpm-cd
change-detection
remote-sensing
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use BiliSakura/ddpm-cd with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("BiliSakura/ddpm-cd", 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-cd
3.79 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
BiliSakura's picture
BiliSakura
Add files using upload-large-folder tool
62a941d verified 2 months ago
  • cd_head
    Add files using upload-large-folder tool 2 months ago
  • scheduler
    Add files using upload-large-folder tool 2 months ago
  • unet
    Add files using upload-large-folder tool 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    3.19 kB
    Add files using upload-large-folder tool 2 months ago
  • model_index.json
    181 Bytes
    Add files using upload-large-folder tool 2 months ago
  • pipeline.py
    21.2 kB
    Add files using upload-large-folder tool 2 months ago