mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
update styling
This commit is contained in:
@@ -59,6 +59,7 @@ Tech that can be integrated as part of the core workflow...
|
||||
- [VIDM: video implicit diffusion models](https://github.com/MKFMIKU/vidm)
|
||||
- [Tune-a-Video](https://github.com/showlab/Tune-A-Video)
|
||||
- [Animator extension](https://github.com/Animator-Anon/animator_extension)
|
||||
- [Prompt travel](https://github.com/Kahsolt/stable-diffusion-webui-prompt-travel)
|
||||
- [KLMC2 animation](https://colab.research.google.com/github/dmarx/notebooks/blob/main/Stable_Diffusion_KLMC2_Animation.ipynb)
|
||||
- [Disco diffusion](https://colab.research.google.com/github/alembics/disco-diffusion/blob/main/Disco_Diffusion.ipynb)
|
||||
- [Video killed the radio star](https://colab.research.google.com/github/dmarx/video-killed-the-radio-star/blob/main/Video_Killed_The_Radio_Star_Defusion.ipynb)
|
||||
@@ -69,5 +70,6 @@ Cool stuff that is not integrated anywhere...
|
||||
|
||||
- [TensorRT](https://www.photoroom.com/tech/stable-diffusion-25-percent-faster-and-save-seconds/)
|
||||
- Bunch of stuff:<https://pharmapsychotic.com/tools.html>
|
||||
- [Google frame interpolation](https://github.com/google-research/frame-interpolation)
|
||||
- Prevalent colors to interrogate
|
||||
- Auto-Sort inputs by face recognition
|
||||
|
||||
+4
-3
@@ -288,14 +288,15 @@ async def train(params):
|
||||
if args.train_embedding.learn_rate == -1:
|
||||
loss_args = {
|
||||
"steps": args.train_embedding.steps,
|
||||
"step": epoch_size,
|
||||
"step": args.train_embedding.create_image_every,
|
||||
"loss_start": params.rstart,
|
||||
"loss_end": params.rend,
|
||||
"loss_type": 'power',
|
||||
"power": params.rdescend
|
||||
}
|
||||
args.train_embedding.learn_rate = gen_loss_rate_str(**loss_args)
|
||||
log.debug({ 'learning rate': args.train_embedding.learn_rate, 'params': loss_args })
|
||||
log.info({ 'dynamic learn-rate': loss_args })
|
||||
log.debug({ 'learn rate': args.train_embedding.learn_rate, 'params': loss_args })
|
||||
|
||||
log.info({ 'train embedding': {
|
||||
'name': params.name,
|
||||
@@ -413,7 +414,7 @@ async def main():
|
||||
parser.add_argument("--maxsteps", type = int, default = 2500, required = False, help = "max training steps used when dynamic gradient is active, default: %(default)s")
|
||||
parser.add_argument("--vectors", type = int, default = -1, required = False, help = "number of vectors per token, default: dynamic based on number of input images")
|
||||
parser.add_argument("--batch", type = int, default = 1, required = False, help = "batch size, default: %(default)s")
|
||||
parser.add_argument("--rate", type = str, default = "", required = False, help = "learning rate, default: dynamic")
|
||||
parser.add_argument("--rate", type = str, default = "", required = False, help = "learn rate, default: dynamic")
|
||||
parser.add_argument("--rstart", type = float, default = 0.01, required = False, help = "starting learn rate if using dynamic rate, default: %(default)s")
|
||||
parser.add_argument("--rend", type = float, default = 0.0005, required = False, help = "ending learn rate if using dynamic rate, default: %(default)s")
|
||||
parser.add_argument("--rdescend", type = float, default = 2, required = False, help = "learn rate descend power when using dynamic rate, default: %(default)s")
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
"training_image_repeats_per_epoch": 1,
|
||||
"training_write_csv_every": 1.0,
|
||||
"training_xattention_optimizations": false,
|
||||
"training_enable_tensorboard": true,
|
||||
"training_enable_tensorboard": false,
|
||||
"training_tensorboard_save_images": false,
|
||||
"training_tensorboard_flush_every": 120,
|
||||
"sd_model_checkpoint": "sd-v15-runwayml.ckpt [cc6cb27103]",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* generic html tags */
|
||||
html { font-size: 16px; }
|
||||
body, button, input, select, textarea { font-family: "Segoe UI"; font-variant: small-caps; }
|
||||
button { font-size: 1.2rem; }
|
||||
img { background-color: black; }
|
||||
input[type=range] { height: 14px; appearance: none; margin-top: 12px }
|
||||
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 18px; cursor: pointer; box-shadow: 2px 2px 3px #111111; background: #50555C; border-radius: 2px; border: 0px solid #222222; }
|
||||
@@ -19,13 +20,14 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
|
||||
.tabs { background-color: black; }
|
||||
.dark { background-color: black; }
|
||||
.dark .gr-panel { border-radius: 0; background-color: black; }
|
||||
.dark .gr-compact { border-radius: 0; background-color: black; }
|
||||
.dark .gr-input-label { color: lightyellow; border-width: 0; background: transparent; padding: 2px !important; }
|
||||
.dark .gr-input { background-color: #333333 !important; }
|
||||
.dark .gr-form { border-radius: 0; border-width: 0; }
|
||||
.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 !important; background-color: #222222; box-shadow: 2px 2px 3px #111111; border-width: 0; padding-bottom: 12px; }
|
||||
.dark .gr-box { border-radius: 0 !important; background-color: #111111; 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; }
|
||||
@@ -38,23 +40,24 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
|
||||
.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; }
|
||||
.dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span { border-radius: 0;}
|
||||
.gr-box > div > div > input.gr-text-input { right: 0.8rem; width: 6em; }
|
||||
|
||||
/* 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); background-color: #111111; }
|
||||
#txt2img_settings, #img2img_settings { min-width: var(--left-column); max-width: var(--left-column); background-color: #111111; margin-top: 1rem; }
|
||||
#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; }
|
||||
#img2img_neg_prompt > label > textarea { font-size: 1.2rem; }
|
||||
#txt2img_generate, #img2img_generate, #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-top: 10px; min-height: 2rem; height: 63px; }
|
||||
#txt2img_generate, #img2img_generate, #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-left: 10px; min-height: 2rem; height: 63px; max-width: 200px; }
|
||||
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { background-color: var(--inactive-color); }
|
||||
#txt2img_gallery, #img2img_gallery, #extras_gallery { background: black; }
|
||||
#tab_extensions table { background-color: #222222; }
|
||||
#style_pos_col, #style_neg_col, #roll_col { display: none; }
|
||||
#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; }
|
||||
@@ -64,3 +67,6 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
|
||||
#txtimg_hr_finalres { max-width: 200px; }
|
||||
#refresh_txt2img_styles, #refresh_img2img_styles { display: none; }
|
||||
#img2img_label_copy_to_img2img { font-weight: normal; }
|
||||
#txt2img_results, #img2img_results, #extras_results { background-color: black; }
|
||||
#txt2img_checkboxes, #img2img_checkboxes { background-color: transparent; }
|
||||
#interrogate, #deepbooru { margin: 0em 0 0 0.25em; }
|
||||
Reference in New Issue
Block a user