36 lines
780 B
Markdown
36 lines
780 B
Markdown
# LoRA-scripts
|
|
|
|
LoRA training scripts for [kohya-ss/sd-scripts](https://github.com/kohya-ss/sd-scripts.git)
|
|
|
|
## Usage
|
|
|
|
### Clone repo
|
|
|
|
```sh
|
|
git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts
|
|
```
|
|
|
|
### Windows
|
|
|
|
#### Required Dependencies
|
|
Python 3.10.8 and Git:
|
|
|
|
- Python 3.10.8: https://www.python.org/ftp/python/3.10.8/python-3.10.8-amd64.exe
|
|
- git: https://git-scm.com/download/win
|
|
|
|
#### Installation
|
|
|
|
Run `install.ps1` will automaticilly create a venv for you and install necessary deps.
|
|
### Linux
|
|
#### Required Dependencies
|
|
Python 3.10.8 and Git:
|
|
|
|
- Python 3.10.8
|
|
- git
|
|
#### Installation
|
|
|
|
Run `install.bash` will automaticilly create a venv for you and install necessary deps.
|
|
|
|
### Training
|
|
|
|
Edit params in `train.ps1` or `train.ipynb` and run it. Enjoy! |