Instructions to use lllyasviel/sd-controlnet-openpose with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-openpose with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-openpose") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
File "pathlib.py", line 1013, in open FileNotFoundError: [Errno 2] No such file or directory: 'D:\\
#9
by sdeepms - opened
I am getting this error, as I try to use any of the preprocessors other than canny and scrible. It is not downloading the required files of preprocessors automatically. so please Help me if anybody know, How to deal with it.
File "pathlib.py", line 1013, in open
FileNotFoundError: [Errno 2] No such file or directory: 'D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\body_pose_model.pth.25a948c16078b0f08e236bda51a385d855ef4c153598947c28c0d47ed94bb746.incomplete'