diff --git a/README.md b/README.md index 7fd7d95..fb75f56 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This repository repository is providing a Gradio GUI for kohya's Stable Diffusio Python 3.10.6+ and Git: -- Python 3.10.6+: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe +- Python 3.10.6+: https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe - git: https://git-scm.com/download/win ## Installation @@ -27,7 +27,7 @@ python -m venv --system-site-packages venv .\venv\Scripts\activate pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116 -pip install --upgrade -r requirements.txt +pip install --use-pep517 --upgrade -r requirements.txt pip install -U -I --no-deps https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/f/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl cp .\bitsandbytes_windows\*.dll .\venv\Lib\site-packages\bitsandbytes\ @@ -61,7 +61,7 @@ When a new release comes out you can upgrade your repo with the following comman cd kohya_ss git pull .\venv\Scripts\activate -pip install --upgrade -r requirements.txt +pip install --use-pep517 --upgrade -r requirements.txt ``` Once the commands have completed successfully you should be ready to use the new version. @@ -104,6 +104,16 @@ python lora_gui.py Once you have created the LoRA network you can generate images via auto1111 by installing the extension found here: https://github.com/kohya-ss/sd-webui-additional-networks +## Troubleshooting + +### Page file limit + +- if get X error relating to `page file`, increase page file size limit in Windows + +### No module called tkinter + +- Re-install python 3.10.x on your system: https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe + ## Change history * 2023/01/16 (v20.2.1): diff --git a/gui.bat b/gui.bat new file mode 100644 index 0000000..fbf5101 --- /dev/null +++ b/gui.bat @@ -0,0 +1,10 @@ +@echo off + +set VENV_DIR=.\venv +set PYTHON=python + +call %VENV_DIR%\Scripts\activate.bat + +%PYTHON% kohya_gui.py + +pause \ No newline at end of file