From 80cd036600bf9c078ceae8ce1f4ee0e548eb2fde Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 18 Jan 2023 09:50:07 -0500 Subject: [PATCH] update config and styles --- .gitignore | 1 + TODO.md | 13 ++++--------- config.json | 4 +++- ui-config.json | 6 +++++- user.css | 13 ++++++++----- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 7061fae54..dfb31d972 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ __pycache__ /models/**/* /train/log/**/* /tmp +/log # unexcluded so folders get created !/repositories/.placeholder diff --git a/TODO.md b/TODO.md index bce5fd088..4cb8e5de4 100644 --- a/TODO.md +++ b/TODO.md @@ -14,14 +14,11 @@ Things I'm actively investigating... Need to study more to determine best out-of-the-box settings: - Experiment with multiple init words: same as number of vectors - - --init person,woman,girl,model - Impact of Codeformer - Impact of Hires fix: - e.g 25 steps and denoising strength 0.25-0.7 -- Possible use of Gradient accumulation - - num-images / batch-size -- Different learning-rates - - monitor convergence in chart train.png +- Gradient accumulation +- Dynamic learning-rates # Ideas @@ -31,11 +28,8 @@ Things I'm looking into... Stuff to be fixed... -- Torch 2.0 model compile -- Accelerate test -- Add DeepSpeed support for training (`accelerate config`) +- Torch 2.0 model compile / Accelerate test - Reconnect WebUI -- Check init words in embeddings Tech that can be integrated as part of the core workflow... @@ -50,6 +44,7 @@ Tech that can be integrated as part of the core workflow... - [Latent blending](https://github.com/lunarring/latentblending/) - [Face swap](https://github.com/kex0/batch-face-swap) - [Animator extension](https://github.com/Animator-Anon/animator_extension) +- [Custom Diffusion](https://github.com/guaneec/custom-diffusion-webui) - [LORA](https://github.com/cloneofsimo/lora) - - diff --git a/config.json b/config.json index 8e31445b9..09be0c939 100644 --- a/config.json +++ b/config.json @@ -139,6 +139,7 @@ "eta_noise_seed_delta": 0, "always_discard_next_to_last_sigma": false, "disabled_extensions": [ + "openOutpaint-webUI-extension", "sdweb-merge-board", "ScuNET", "roll-artist" @@ -159,5 +160,6 @@ "inspiration_max_samples": 4, "inspiration_rows_num": 4, "inspiration_cols_num": 6, - "live_preview_refresh_period": 1000 + "live_preview_refresh_period": 1000, + "show_progressbar": true } \ No newline at end of file diff --git a/ui-config.json b/ui-config.json index 9c44b16b7..c77ea6d20 100644 --- a/ui-config.json +++ b/ui-config.json @@ -730,5 +730,9 @@ "customscript/steps_animation.py/img2img/Path for intermediate files/visible": true, "customscript/steps_animation.py/img2img/Path for intermediate files/value": "intermediate", "customscript/steps_animation.py/img2img/Path for output animation file/visible": true, - "customscript/steps_animation.py/img2img/Path for output animation file/value": "animation" + "customscript/steps_animation.py/img2img/Path for output animation file/value": "animation", + "txt2img/Styles/visible": false, + "txt2img/Styles/value": [], + "img2img/Styles/visible": false, + "img2img/Styles/value": [] } \ No newline at end of file diff --git a/user.css b/user.css index 08af99a87..a57ca625c 100644 --- a/user.css +++ b/user.css @@ -25,7 +25,7 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr .dark .gr-check-radio { background-color: var(--inactive-color); border-width: 0; border-radius: 2px; box-shadow: 2px 2px 3px #111111; } .dark .gr-check-radio:checked { background-color: var(--highlight-color); } .dark .gr-button { border-radius: 0; font-weight: normal; box-shadow: 2px 2px 3px #111111; font-size: 0.9rem; min-width: 42px; min-height: 42px; } -.dark .gr-box { border-radius: 0; background-color: #222222; box-shadow: 2px 2px 3px #111111; border-width: 0; padding-bottom: 12px; } +.dark .gr-box { border-radius: 0 !important; background-color: #222222; box-shadow: 2px 2px 3px #111111; border-width: 0; padding-bottom: 12px; } .dark .dark\:bg-gray-900 { background-color: black; } .dark .bg-white { color: lightyellow; border-radius: 0; } .dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span { background-color: #222222; padding: 0 12px 0 12px; } @@ -37,14 +37,14 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr .py-6 { padding-bottom: 0; } .overflow-hidden .flex .flex-col .relative col .gap-4 { min-width: var(--left-column); max-width: var(--left-column); } /* this is a problematic one */ .rounded-lg { border-radius: 0; } -.p-2 { padding: 0 } +.p-2 { padding: 0; } /* automatic style classes */ .progressDiv .progress { background: var(--highlight-color); border-radius: 2px; } .gallery-item { box-shadow: none !important; } /* gradio elements overrides */ -#txt2img_settings, #img2img_settings { min-width: var(--left-column); max-width: var(--left-column); } +#txt2img_settings, #img2img_settings { min-width: var(--left-column); max-width: var(--left-column); background-color: #111111; } #txt2img_prompt > label > textarea { font-size: 1.2rem; } #txt2img_neg_prompt > label > textarea { font-size: 1.2rem; } #img2img_prompt > label > textarea { font-size: 1.2rem; } @@ -57,7 +57,10 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr #interrogate_col { margin-top: 10px; } #txt2img_progress_row > div { min-width: var(--left-column); max-width: var(--left-column); } #save-animation { border-radius: 0 !important; margin-bottom: 16px; background-color: #111111; } -#open_folder_txt2img, #open_folder_img2img, #open_folder_extras { display: none } +#open_folder_txt2img, #open_folder_img2img, #open_folder_extras { display: none; } #footer { display: none; } #txt2img_seed_row { padding: 0; margin-top: 8px; } -#txt2img_subseed_show { min-width: 74px; padding: 0 0 0 6px;} +#txt2img_subseed_show { min-width: 74px; padding: 0 0 0 6px; } +#txtimg_hr_finalres { max-width: 200px; } +#refresh_txt2img_styles, #refresh_img2img_styles { display: none; } +#img2img_label_copy_to_img2img { font-weight: normal; }