NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


Automatic ControlNet Installer And Downloader For Windows BAT File

Patreon exclusive posts index

Join 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:

26 September 2023 Update:

18 September 2023 Update:

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


Automatic ControlNet Installer And Downloader For Windows BAT File Automatic ControlNet Installer And Downloader For Windows BAT File

Comments

great

Furkan Gözükara

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.

Hash Bookies

ok so fixed right?

Furkan Gözükara

I figured it out Created a bat file @echo off C:\venv\Scripts\python.exe "E:\auto\control_net_downloader.py" pause

Hash Bookies

Hello did you start it with control_net_install.bat ? because that file installs requests. you can also do pip install requests to fix

Furkan Gözükara

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 . . .

Hash Bookies

you are welcome. ty for support

Furkan Gözükara

Thank you very much!!!

Ran Bensimon

Hello fixed the link. So sorry for the delay.

Furkan Gözükara

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."}]}

Ran Bensimon

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

Furkan Gözükara

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)

Rasika Singal


Related Creators