Add LECO training script and associated tests

- Implemented `sdxl_train_leco.py` for training with LECO prompts, including argument parsing, model setup, training loop, and weight saving functionality.
- Created unit tests for `load_prompt_settings` in `test_leco_train_util.py` to validate loading of prompt configurations in both original and slider formats.
- Added basic syntax tests for `train_leco.py` and `sdxl_train_leco.py` to ensure modules are importable.
This commit is contained in:
umisetokikaze
2026-03-11 20:13:00 +09:00
parent 1a3ec9ea74
commit e7f5be3934
7 changed files with 1479 additions and 0 deletions

5
tests/test_train_leco.py Normal file
View File

@@ -0,0 +1,5 @@
import train_leco
def test_syntax():
assert train_leco is not None