S1. Go to https://github.com/Mikubill/sd-webui-controlnet to understand the installation method and install python 3.10.6 Version
S3. After downloading, click webui.bat to enter the directory
先執行
virtualenv venv
.venvScriptsactivate.bat
(PowerShell模式則使用 .venvScriptsactivate.ps1 )
進到虛擬機器後再執行
webui.bat
pip install virtualenv
pip install omegaconf
The VRAM of the GPU is only 4GB or even lower. Right-click the webui-user.bat in the Stable Diffusion folder, open it with Notepad, and add set COMMANDLINE_ARGS=”–medvram”
set COMMANDLINE_ARGS=--medvram --disable-safe-unpickle --opt-split-attention
RAM less than 8GB plus –disable-safe-unpickle –opt-split-attention
S5. Go to the Extensions option, use Install from URL, and paste the https://github.com/Mikubill/sd-webui-controlnet.git link into the field and click Install
S6. Come to Installed to confirm and click Apply and restart UI
S7. Restart the Stable Diffusion web UI
S8. Set the skeleton
pip install pyre-extensions==0.0.23
pip install -i https://test.pypi.org/simple/ formers==0.0.15.dev376
S10. Upgrade Gradio
pip install opencv-python
pip install gradio==3.16.2