krita-ai-diffusion
krita-ai-diffusion copied to clipboard
Can't use pose because ControlNet model is not instailled
HI! I can't use pose because the ControlNet model is not installed. I tried following this tutorial to install ControlNet, but I don't actually know how to install it. My English isn't very good, so I may not fully understand the tutorial. There is no "ai_diffusion" folder in my Krita folder. I also can't run this line of code successfully : python download_models.py /path/to/your/comfyui.
Is this code supposed to be executed in the ComfyUI folder or in the Krita folder? I’ve tried running it in both, but I keep getting this error message:
I would like to ask if there are any other ways to resolve the "pose ControlNet model" issue? I'm sorry for the trouble, and I really appreciate your help.
https://github.com/Acly/krita-ai-diffusion/discussions/1208 You can download this tool and click on one-click download to complete the error repair. The software must be placed in the comfyUI directory.
Is this code supposed to be executed in the ComfyUI folder or in the Krita folder?
A copy of this file should already be located in the plugin install directory. Best invoke it directly from there. Replace /path/to/your/comfyui with the actual path (D:\AI\ComfyUI_windows_portable in your case).
Add eg. --sdxl --controlnet to download SDXL ControlNet models (including pose)
#1208 You can download this tool and click on one-click download to complete the error repair. The software must be placed in the comfyUI directory.
Thank you so much for your help! I later followed this method (https://www.bilibili.com/read/cv28325204/?jump_opus=1) and solved the issue. Your method seems more convenient, so I’ll try using it next time. Thank you again!
Is this code supposed to be executed in the ComfyUI folder or in the Krita folder?
A copy of this file should already be located in the plugin install directory. Best invoke it directly from there. Replace
/path/to/your/comfyuiwith the actual path (D:\AI\ComfyUI_windows_portablein your case).Add eg.
--sdxl --controlnetto download SDXL ControlNet models (including pose)
Thank you for your quick response! I found a way to solve the problem, and I'll try your method next time! One question: is installing SDXL necessary? Thanks!
The document on page ( https://github.com/Acly/krita-ai-diffusion/wiki/ComfyUI-Setup ) maybe confuse if someone who isn't good at English like I am.
To make it easier and more clear, install this file download_models.py on C:\Users\%username%\AppData\Roaming\krita\pykrita.
Then call it with command (and maybe with path to ComfyUI as example above).
Example for my case:
python download_models.py "C:\stable-diffusion\ComfyUI" --all
The folder "C:\stable-diffusion\ComfyUI" must contain models, comfy, comfy_execution, main.py folders and files in it.