derrian-distro / LoRA_Easy_Training_Scripts

A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy
GNU General Public License v3.0
998 stars 101 forks source link

How to update from Main branch to Dev branch #208

Closed JBW2023 closed 2 months ago

JBW2023 commented 2 months ago

Hello, I am wondering how I can I install the Dev version with the latest update? I tried to download the https://github.com/derrian-distro/LoRA_Easy_Training_Scripts/archive/refs/heads/dev.zip and running the install.bat commend but I am getting errors during the installation for Windows. Any help will be appreciated.

Jelosus2 commented 2 months ago

Use git to clone it git clone -b dev https://github.com/derrian-distro/LoRA_Easy_Training_Scripts and run the install.bat

JBW2023 commented 2 months ago

Use git to clone it git clone -b dev https://github.com/derrian-distro/LoRA_Easy_Training_Scripts and run the install.bat

Got it, thanks, it works now, however I am facing another error while running the install.bat commend. This error occurs after answering the installer question:

"Are you using this locally? (y/n): " ( I prompt y)

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\123\.cache\huggingface\accelerate\default_config.yaml' Traceback (most recent call last): File "E:\Stable_Diffusion\LoRA_Easy_Training_Scripts-dev\LoRA_Easy_Training_Scripts\install.py", line 79, in main() File "E:\Stable_Diffusion\LoRA_Easy_Training_Scripts-dev\LoRA_Easy_Training_Scripts\install.py", line 75, in main subprocess.check_call(f"{python} installer.py local", shell=sys.platform == "linux") File "C:\Users\123\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'C:\Users\123\AppData\Local\Programs\Python\Python310\python.exe installer.py local' returned non-zero exit status 1. Press any key to continue . . .

JBW2023 commented 2 months ago

Found the solution, thanks https://github.com/derrian-distro/LoRA_Easy_Training_Scripts/issues/203