# lora-scripts **Repository Path**: orangeaec/lora-scripts ## Basic Information - **Project Name**: lora-scripts - **Description**: LoRA训练脚本使用kohya-ss的训练器,用于扩散模型。 source: https://jihulab.com/Akegarasu/lora-scripts - **Primary Language**: PowerShell - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: https://github.com/Akegarasu/lora-scripts - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-08-02 - **Last Updated**: 2023-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LoRA-scripts LoRA training scripts for [kohya-ss/sd-scripts](https://github.com/kohya-ss/sd-scripts.git) ✨NEW: Train GUI ![image](https://github.com/Akegarasu/lora-scripts/assets/36563862/0a2edcb8-023a-4fe6-8c92-2bad9ccab64c) Follow the installation guide below to install the GUI, then run `run_gui.ps1`(windows) or `run_gui.sh`(linux) to start the GUI. ## Usage ### Clone repo with submodules ```sh git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts ``` ### Required Dependencies Python 3.10.8 and Git ### Windows #### Installation Run `install.ps1` will automaticilly create a venv for you and install necessary deps. #### Train Edit `train.ps1`, and run it. ### Linux #### Installation Run `install.bash` will create a venv and install necessary deps. #### Train Training script `train.sh` **will not** activate venv for you. You should activate venv first. ```sh source venv/bin/activate ``` Edit `train.sh`, and run it. #### TensorBoard Run `tensorboard.ps1` will start TensorBoard at http://localhost:6006/ ![](./assets/tensorboard-example.png)