安裝『Stable Diffusion』時未有安裝『gfpgan』人樣修复.
RuntimeError: Couldn’t install gfpgan. |
進入『GFPGAN』
https://github.com/TencentARC/GFPGAN |
下載『GFPGAN』落『C:』碟
git clone https://github.com/TencentARC/GFPGAN.git |
复制『C:\GFPGAN』到『C:\stable-diffusion-webui\venv\Scripts』
C:\GFPGAN | Sour |
C:\stable-diffusion-webui\venv\Scripts | dest |
進入『命令行模式CMD』
CD去『GFPGAN』檔䅁夾, 作為本地路徑
cd C:\stable-diffusion-webui\venv\Scripts\GFPGAN |
执行下列安裝指令
C:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install basicsr |
C:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install facexlib |
C:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install -r requirements.txt |
C:\stable-diffusion-webui\venv\Scripts\python.exe setup.py develop |
C:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install realesrgan |