aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-02 19:26:18 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-02 19:26:18 +0300
commitefa0a6483c9dfbdde6717bec202942c6036e72ff (patch)
treec3ced9eca3eeb30ede46cbc582604fd75973fca2 /README.md
parent20008303428fed569d32ed05c21524ea81735207 (diff)
change webui.bat to use venv
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index f2973a80..2c4d3c5b 100644
--- a/README.md
+++ b/README.md
@@ -27,12 +27,15 @@ You optionally can use GPFGAN to improve faces, then you'll need to download the
- install [CUDA 11.3](https://developer.nvidia.com/cuda-11.3.0-download-archive?target_os=Windows&target_arch=x86_64)
- place `model.ckpt` into webui directory, next to `webui.bat`.
- _*(optional)*_ place `GFPGANv1.3.pth` into webui directory, next to `webui.bat`.
-- run `webui.bat` from Windows explorer.
+- run `webui.bat` from Windows Explorer.
#### Troublehooting:
- if you get out of memory errors and your videocard has low amount of VRAM (4GB), edit `webui.bat`, change line 5 to from `set COMMANDLINE_ARGS=` to `set COMMANDLINE_ARGS=--medvram` (see below for other possible options)
-
+- installer creates python virtual environment, so none of installed modules will affect your system installation of python if you had one prior to installing this.
+- to prevent the creation of virtual environment and use your system python, edit `webui.bat` replacing `set VENV_DIR=venv` with `set VENV_DIR=`.
+- webui.bat installs requirements from files `requirements_versions.txt`, which lists versions for modules specifically compatible with Python 3.10.6. If you choose to install for a different version of python, editing `webui.bat` to have `set REQS_FILE=requirements.txt` instead of `set REQS_FILE=requirements_versions.txt` may help (but I still reccomend you to just use the recommended version of python).
+- if your version of Python is not in PATH, edit the line `set PYTHON=python` to say the full path to your python executable: `B:\soft\Python310\python.exe`. You can do this for python, but not for git.
### Manual instructions
Alternatively, if you don't want to run webui.bat, here are instructions for installing