Upgrade upgrade.ps1 script to fix reported issue:

https://github.com/bmaltais/kohya_ss/issues/165
This commit is contained in:
bmaltais 2023-02-14 17:42:36 -05:00
parent 261b6790ee
commit a1f6438f7b
2 changed files with 13 additions and 0 deletions

View File

@ -143,6 +143,8 @@ Then redo the installation instruction within the kohya_ss venv.
## Change history
* 2023/02/15 (v20.7.3):
- Update upgrade.ps1 script
* 2023/02/11 (v20.7.2):
- `lora_interrogator.py` is added in `networks` folder. See `python networks\lora_interrogator.py -h` for usage.
- For LoRAs where the activation word is unknown, this script compares the output of Text Encoder after applying LoRA to that of unapplied to find out which token is affected by LoRA. Hopefully you can figure out the activation word. LoRA trained with captions does not seem to be able to interrogate.

View File

@ -1,3 +1,14 @@
# Check if there are any changes that need to be committed
if (git status --short) {
Write-Error "There are changes that need to be committed. Please stash or undo your changes before running this script."
return
}
# Pull the latest changes from the remote repository
git pull
# Activate the virtual environment
.\venv\Scripts\activate
# Upgrade the required packages
pip install --upgrade -r requirements.txt