Instructions to use thibaud/controlnet-sd21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thibaud/controlnet-sd21 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("thibaud/controlnet-sd21") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Couldn't convert safetensors to HF format
#36
by yalahao - opened
Hello there, thanks for sharing the models.
For some reason I couldn't convert the safetensors files to HF format. Keep getting this:
KeyError: 'time_embed.0.weight'
The ckpt files work. I use the original cldm_v21.yaml and the latest HF repo script convert_original_controlnet_to_diffusers.py for conversion.
Do you know what I can try differently? Otherwise, any chance you can upload the openposev2 model in ckpt format? Thanks.
NM. Found your other repos LOL
yalahao changed discussion status to closed