diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-11 12:46:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 12:46:20 +0000 |
commit | 73776907ec460747f37e1154d890a44fd83b8440 (patch) | |
tree | 56540e2a47ae664a810f6e19ad6451f03c2dbc58 /modules/shared.py | |
parent | 6585cba20048576ebac8613c34c01dd85c894b86 (diff) | |
parent | a1e271207dfc3e89b1286ba41d96b459f210c4b2 (diff) | |
download | stable-diffusion-webui-gfx803-73776907ec460747f37e1154d890a44fd83b8440.tar.gz stable-diffusion-webui-gfx803-73776907ec460747f37e1154d890a44fd83b8440.tar.bz2 stable-diffusion-webui-gfx803-73776907ec460747f37e1154d890a44fd83b8440.zip |
Merge pull request #4117 from TinkTheBoush/master
Adding optional tag shuffling for training
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index e8bacd3c..caabf078 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -319,6 +319,8 @@ options_templates.update(options_section(('system', "System"), { 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."),
+ "shuffle_tags": OptionInfo(False, "Shuffleing tags by ',' when create texts."),
+ "tag_drop_out": OptionInfo(0, "Dropout tags when create texts", gr.Slider, {"minimum": 0, "maximum": 1, "step": 0.1}),
"save_optimizer_state": OptionInfo(False, "Saves Optimizer state as separate *.optim file. Training can be resumed with HN itself and matching optim file."),
"dataset_filename_word_regex": OptionInfo("", "Filename word regex"),
"dataset_filename_join_string": OptionInfo(" ", "Filename join string"),
|