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

  • Log In
  • Sign Up

diffusers
/
controlnet-canny-sdxl-1.0

Text-to-Image
Diffusers
Safetensors
stable-diffusion-xl
stable-diffusion-xl-diffusers
Model card Files Files and versions
xet
Community
38

Instructions to use diffusers/controlnet-canny-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use diffusers/controlnet-canny-sdxl-1.0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("diffusers/controlnet-canny-sdxl-1.0", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Any ideas to include more modalities, such as semantic segmentation maps?

#37 opened over 1 year ago by
Wanglong2

Are there models trained in 'x0' mode?

#36 opened almost 2 years ago by
pinghai

Using non square images for training

1
#35 opened about 2 years ago by
demo001s

When generating indoor images, there is unexpected glowing. Can this be fixed?

2
#34 opened about 2 years ago by
demo001s

Image Quality at higher control values

1
#33 opened over 2 years ago by
aseem007

Bad colors and quality

👍 1
1
#32 opened over 2 years ago by
Lexa136

SDXL ControlNet Segmentation

👍 3
#31 opened over 2 years ago by
BertChristiaens

convert it to TensorRT?

#30 opened over 2 years ago by
aafaqin

controlnet-canny-sdxl-1.0 running on Kaggle

#29 opened over 2 years ago by
galeriarodrigo

Run inference on AWS SageMaker

#28 opened over 2 years ago by
DmitryGood

Training on 8 A100 machine

2
#26 opened over 2 years ago by
mashreve

🚩 Report

#23 opened over 2 years ago by
mjmrstudios

FYI: Python code that runs locally on Apple Silicon Macs (tested successfully on M1 Max with 64 GB RAM)

5
#17 opened over 2 years ago by
MaxJob

Please post a colab example

6
#7 opened almost 3 years ago by
creatorbest

Running in ComfyUI?

👍 1
13
#1 opened almost 3 years ago by
unphased
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs