Instructions to use lllyasviel/sd-controlnet-seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-seg with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-seg") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Where does from `controlnet_utils import ade_palette` come from
#2
by StatsGary - opened
Where does this package come from. I am following along with the semantic segmentation pipeline, and I wondered where I can import this?
Thanks @williamberman
StatsGary changed discussion status to closed