Automatic ControlNet Installer And Downloader For Windows BAT File
🕑 Added 2023-06-20 21:48:24 +0000 UTCJoin discord and tell me your discord username to get a special rank : SECourses Discord
This Post Will Not Be Updated Anymore
Updated Post Is Below
https://www.patreon.com/posts/86307255
Older Instructions - Use New Above Link
17 November 2023 Update:
- New 2 SDXL ControlNet models added to the list
- ip-adapter-plus-face_sdxl_vit-h
- ip-adapter-plus_sdxl_vit-h
- Select ip-adapter_clip_sdxl_plus_vith as preprocessor
26 September 2023 Update:
- auto_install_SD_web_ui. bat file will not delete existing installation folder anymore. So delete it yourself if you wish a clean install
- It will do a git pull and update existing Auto1111 to the latest version
18 September 2023 Update:
- All new SDXL ControlNet models added to the control_net_downloader
Full controlnet tutorial here 85 minutes :
Download attached control_net_install.bat , auto_install_SD_web_ui.bat and control_net_downloader.py in to the same folder with your stable-diffusion-webui folder
Here screenshot of how you should do it : https://huggingface.co/MonsterMMORPG/Images/resolve/main/how-to-put-controlnet-auto-installer.png
Then double click and run control_net_install. bat
It will clone ControlNet into the stable-diffusion-webui\extensions and then start downloading all ControlNet model pth files
It will display status of downloads like can be seen here : https://huggingface.co/MonsterMMORPG/Images/resolve/main/controlnet_install.png
It will skip previously existing models but make sure that those models have been 100% downloaded. Otherwise they will give an error to you
After all downloads have been completed restart your Automatic1111 Web UI. It will install requirements of ControlNet.
If you had previously installed ControlNet then it will just download the missing model files. You can also delete this folder for fresh install : stable-diffusion-webui\extensions\sd-webui-controlnet
Comments
Furkan Gözükara
great
Hash Bookies
Yes! All thanks to your video on venvs and creating bat files. I thought it wasn’t seeing the dedicated python version so I called it. Thank you. 🙏🏿
Hash Bookies
Yes, I did but got the request errors and I have requests installed.
Furkan Gözükara
ok so fixed right?
Hash Bookies
I figured it out Created a bat file @echo off C:\venv\Scripts\python.exe "E:\auto\control_net_downloader.py" pause
Furkan Gözükara
Hello did you start it with control_net_install.bat ? because that file installs requests. you can also do pip install requests to fix
Hash Bookies
I got this error while trying to download controlnet automaticall File "E:\auto\control_net_downloader.py", line 3, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .
Furkan Gözükara
you are welcome. ty for support
Ran Bensimon
Thank you very much!!!
Furkan Gözükara
Hello fixed the link. So sorry for the delay.
Ran Bensimon
Hey, I want to update my ControlNet models, but when trying to download control_net_downloader.py there's an error: {"errors":[{"code":902,"code_name":"AttachmentNotFound","detail":"Attachment with id 15816602 was not found.","id":"b4ed6421-95a8-5f8c-bf48-5dcf0d729e97","status":"404","title":"Attachment was not found."}]}
Furkan Gözükara
to fix the python file execution error you need to give permissions. i don't have a mac so i don't know for sure but here what chatgpt tells me: chmod u+w /Users/ankushsingal/Desktop/stable-diffusion-webui
Furkan Gözükara
this is the folder where controlnet models has to be put in: .../stable-diffusion-webui/extensions/sd-webui-controlnet/models
Rasika Singal
i am getting error: python control_net_downloader.py Traceback (most recent call last): File "/Users/ankushsingal/Desktop/stable-diffusion-webui/manual/control_net_downloader.py", line 28, in os.makedirs(target_folder, exist_ok=True) File "/Users/ankushsingal/anaconda3/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/Users/ankushsingal/anaconda3/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: '/stable-diffusion-webui' . My control_net_downloader.py is in stable-diffusion-webui/manual where i have already downloaded sd-webui-controlnet in extensions which is located in Desktop/stable-diffusion-webui/extensions. In the video you mentioned to put everything on sd-webui-controlnet/models but the scriptions says to put in Extension. Can you please help to make the changes(i am using mac)