stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Aspect Ratio red square no longer appears in Img2Img tab

Open subashc2023 opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

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

What happened?

When you change the Aspect Ratio in the inpaint tab, normally there would be a red square so you can see how much you have to change it to match the ratio of the image that you are inpainting (In case you want to inpaint the whole image).

This no longer appears. Now I have to manually check the ratio of the image, then convert the largest side to my largest size of renderable resolution, and then scale the other side by the same %. This is annoying to say the least.

Steps to reproduce the problem

  1. Go to Img2Img inpaint tab
  2. Try to change Aspect Ratio
  3. No red square appears over the image.

What should have happened?

A red square should have appeared at the current ratio, and change as I change the ratio.

Commit where the problem happens

64da5c46ef0d68b9048747c2e0d46ce3495f9f29

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

--xformers --disable-safe-unpickle --cors-allow-origins=http://localhost:7860/ --api

List of extensions

Controlnet, Lora/LoCon, Promptgen, Wildcards, UltimateUpscale

Console logs

G:\Workspace\stable-diffusion-webui>set root=C:\Users\meeee\anaconda3

G:\Workspace\stable-diffusion-webui>call C:\Users\meeee\anaconda3\Scripts\activate.bat C:\Users\meeee\anaconda3

(base) G:\Workspace\stable-diffusion-webui>call activate sdwebui

(sdwebui) G:\Workspace\stable-diffusion-webui>git pull
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 1), reused 3 (delta 1), pack-reused 0
Unpacking objects: 100% (6/6), 4.29 KiB | 68.00 KiB/s, done.
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
   a0d07fb5..64da5c46  master     -> origin/master
Updating a0d07fb5..64da5c46
Fast-forward
 scripts/loopback.py | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

(sdwebui) G:\Workspace\stable-diffusion-webui>start microsoft-edge:http://127.0.0.1:7860/

(sdwebui) G:\Workspace\stable-diffusion-webui>webui-user.bat
venv "G:\Workspace\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Commit hash: 64da5c46ef0d68b9048747c2e0d46ce3495f9f29
Installing requirements for Web UI
Installing requirements for CLIP Interrogator

current transparent-background 1.2.3





Launching Web UI with arguments: --xformers --disable-safe-unpickle --cors-allow-origins=http://localhost:7860/ --api
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: G:\Workspace\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Loading booru2prompt settings
Loading weights [10642fd1d2] from G:\Workspace\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV13_v13-inpainting.safetensors
Creating model from config: G:\Workspace\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV13_v13-inpainting.yaml
LatentInpaintDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.54 M params.
Loading VAE weights specified in settings: G:\Workspace\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(48): 
Model loaded in 22.8s (load weights from disk: 0.4s, create model: 0.6s, apply weights to model: 15.8s, apply half(): 1.0s, load VAE: 1.4s, move model to device: 0.7s, load textual inversion embeddings: 2.8s).
2560 1440
1390
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 49.2s (import torch: 4.1s, import gradio: 2.4s, import ldm: 0.4s, other imports: 2.5s, list extensions: 3.2s, list SD models: 0.2s, setup codeformer: 0.2s, load scripts: 4.8s, load SD checkpoint: 23.1s, create ui: 7.7s, gradio launch: 0.3s, scripts app_started_callback: 0.1s).

Additional information

No response

subashc2023 avatar Mar 26 '23 06:03 subashc2023

missing this too... have you fix, have you find way, how to fix that? thanx

tembel123456 avatar Mar 26 '23 08:03 tembel123456

same problem...

Randy7573 avatar Mar 26 '23 08:03 Randy7573

I know that Controlnet was causing this issue, maybe it still does? https://github.com/Mikubill/sd-webui-controlnet/issues/130

neojam avatar Mar 26 '23 09:03 neojam

the same problem after the update gradio

narimangafurov avatar Mar 26 '23 09:03 narimangafurov

I know that Controlnet was causing this issue, maybe it still does? Mikubill/sd-webui-controlnet#130

I have uninstalled all my extensions and still have the same issue. I hope I don't have to reinstall my Automatic1111...

subashc2023 avatar Mar 26 '23 11:03 subashc2023

Duplicate of #8910

space-nuko avatar Mar 26 '23 16:03 space-nuko