mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-18 01:30:02 +00:00
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:
5
tests/test_train_leco.py
Normal file
5
tests/test_train_leco.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import train_leco
|
||||
|
||||
|
||||
def test_syntax():
|
||||
assert train_leco is not None
|
||||
Reference in New Issue
Block a user