diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-06 04:59:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 04:59:44 +0000 |
commit | 88e01b237e60730338823ac4f11972a98d698ce7 (patch) | |
tree | 0d387fe61d1171fe87885d74b754249693253474 /modules/shared.py | |
parent | 143ed5a42dae135e7ad991b8666e3cfa7d905ac2 (diff) | |
parent | b6bab2f052b32c0ffebe6aecc1819ccf20cf8c5d (diff) | |
download | stable-diffusion-webui-gfx803-88e01b237e60730338823ac4f11972a98d698ce7.tar.gz stable-diffusion-webui-gfx803-88e01b237e60730338823ac4f11972a98d698ce7.tar.bz2 stable-diffusion-webui-gfx803-88e01b237e60730338823ac4f11972a98d698ce7.zip |
Merge pull request #6372 from timntorres/save-ti-hypernet-settings-to-txt-revised
Save hypernet and textual inversion settings to text file, revised.
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index b7a3ce5c..f0e10b35 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -362,6 +362,7 @@ options_templates.update(options_section(('training', "Training"), { "unload_models_when_training": OptionInfo(False, "Move VAE and CLIP to RAM when training if possible. Saves VRAM."),
"pin_memory": OptionInfo(False, "Turn on pin_memory for DataLoader. Makes training slightly faster but can increase memory usage."),
"save_optimizer_state": OptionInfo(False, "Saves Optimizer state as separate *.optim file. Training of embedding or HN can be resumed with the matching optim file."),
+ "save_training_settings_to_txt": OptionInfo(False, "Save textual inversion and hypernet settings to a text file whenever training starts."),
"dataset_filename_word_regex": OptionInfo("", "Filename word regex"),
"dataset_filename_join_string": OptionInfo(" ", "Filename join string"),
"training_image_repeats_per_epoch": OptionInfo(1, "Number of repeats for a single input image per epoch; used only for displaying epoch number", gr.Number, {"precision": 0}),
|