Upgrade upgrade.ps1 script to fix reported issue:
https://github.com/bmaltais/kohya_ss/issues/165
This commit is contained in:
parent
261b6790ee
commit
a1f6438f7b
@ -143,6 +143,8 @@ Then redo the installation instruction within the kohya_ss venv.
|
|||||||
|
|
||||||
## Change history
|
## Change history
|
||||||
|
|
||||||
|
* 2023/02/15 (v20.7.3):
|
||||||
|
- Update upgrade.ps1 script
|
||||||
* 2023/02/11 (v20.7.2):
|
* 2023/02/11 (v20.7.2):
|
||||||
- `lora_interrogator.py` is added in `networks` folder. See `python networks\lora_interrogator.py -h` for usage.
|
- `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.
|
- 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.
|
||||||
|
11
upgrade.ps1
11
upgrade.ps1
@ -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
|
git pull
|
||||||
|
|
||||||
|
# Activate the virtual environment
|
||||||
.\venv\Scripts\activate
|
.\venv\Scripts\activate
|
||||||
|
|
||||||
|
# Upgrade the required packages
|
||||||
pip install --upgrade -r requirements.txt
|
pip install --upgrade -r requirements.txt
|
Loading…
Reference in New Issue
Block a user