Skip to content

[Bug]: 1.3.0-RC extra networks thumbs mode broken #10639

@SLAPaper

Description

@SLAPaper

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

QQ图片20230523010856

The preview images cannot fill the thumbs

Steps to reproduce the problem

  1. Update to 1.3.0-RC
  2. Change "Default view for Extra Networks" to thumbs
  3. Refresh the extra networks view

What should have happened?

The preview images can fill up the thumbs

Commit where the problem happens

1f31829

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

--api --theme=light --ckpt-dir D:\workspace\sd-model\checkpoints --vae-dir D:\workspace\sd-model\vae --embeddings-dir D:\workspace\sd-model\textual_inversion --hypernetwork-dir D:\workspace\sd-model\hyper_networks --bsrgan-models-path D:\workspace\sd-model\upscaler\bsrgan --esrgan-models-path D:\workspace\sd-model\upscaler\esrgan --realesrgan-models-path D:\workspace\sd-model\upscaler\resrgan --lora-dir D:\workspace\sd-model\lora --controlnet-dir D:\workspace\sd-model\control_net --lyco-dir D:\workspace\sd-model\lycoris

List of extensions

No, I disabled all extra ones to check the issue.

Console logs

venv "C:\Users\SLAPaper\workspace\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 | packaged by Anaconda, Inc. | (main, Apr 20 2023, 18:56:50) [MSC v.1916 64 bit (AMD64)]
Version: v1.3.0-RC
Commit hash: 1f3182924ba8e70d0e0fc3ed270782f324376ba3
Installing requirements
Launching Web UI with arguments: --api --theme=light --ckpt-dir D:\workspace\sd-model\checkpoints --vae-dir D:\workspace\sd-model\vae --embeddings-dir D:\workspace\sd-model\textual_inversion --hypernetwork-dir D:\workspace\sd-model\hyper_networks --bsrgan-models-path D:\workspace\sd-model\upscaler\bsrgan --esrgan-models-path D:\workspace\sd-model\upscaler\esrgan --realesrgan-models-path D:\workspace\sd-model\upscaler\resrgan --lora-dir D:\workspace\sd-model\lora --controlnet-dir D:\workspace\sd-model\control_net --lyco-dir D:\workspace\sd-model\lycoris
No module 'xformers'. Proceeding without it.
*** "Disable all extensions" option was set, will only load built-in extensions ***
Loading weights [809f5c73c3] from D:\workspace\sd-model\checkpoints\v15\2D0Anime\allInOneAnimeIllust_aidv28.safetensors
Creating model from config: C:\Users\SLAPaper\workspace\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 5.7s (import torch: 2.1s, import gradio: 0.7s, import ldm: 0.4s, other imports: 0.6s, list SD models: 0.2s, load scripts: 1.0s, create ui: 0.2s, gradio launch: 0.4s).
Applying optimization: sdp
Textual inversion embeddings loaded(50): 16-token-negative-deliberate-neg, 7dirtywords, aid28, an4-neg, an5, an6, AS-Adult, AS-Adult-neg, AS-Elderly, AS-MidAged, AS-Young, AS-Young-neg, AS-Younger, AS-Youngest, bad-artist, bad-artist-anime, bad-hands-5, bad-picture-chill-75v, bad_prompt, bad_prompt_version2, bad_prompt_version2-neg, badhandv4, BadNegAnatomyV1-neg, badv5, By_bad_artist_neg, charturnerv2, EasyNegative, EasyNegativeV2, FastNegativeEmbedding, kkw-Extreme-Neg, kkw-oily-helper, kkw-old, lr, neg-anime, neg-sketch-2, negative_hand-neg, ng_deepnegative_v1_75t, photozoov15, qualityzoov15, realisticvision-negative-embedding, renderzoov15, rmadanegative402_sd15-neg, rmadanegative402_sd15-neg_2, rmadanegative4_sd15-neg, rz-neg-15-foranalog, structurezoov15, Unspeakable-Horrors-Composition-4v, verybadimagenegative_v1.3, was-battletech, yam-negative-10000-neg
Textual inversion embeddings skipped(17): badquality, DrD_PNTE768, Mayng, mj-gs, nartfixer, NegLowRes_2400, Neg_Facelift768, nfixer, nrealfixer, photozoov21, qualityzoov21, renderzoov21, rev2-badprompt, rz-neg-foranalogportrait, rz-neg-forbettercontrast, rz-neg-general, structurezoov21
Model loaded in 2.6s (load weights from disk: 0.4s, create model: 0.4s, apply weights to model: 0.4s, apply half(): 0.4s, move model to device: 0.3s, load textual inversion embeddings: 0.7s).

Additional information

The thumbs mode change parent class from extra-network-cards to extra-network-thumbs and the proper css rule is not applied
QQ图片20230523011114

Fix: add following part to style.css

.extra-network-thumbs .card .preview{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height:100%;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions