AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
140.57k stars 26.6k forks source link

[Bug]: Crop and resize does not work #8080

Open Igrom4ik opened 1 year ago

Igrom4ik commented 1 year ago

Is there an existing issue for this?

What happened?

Crop and resize with the inpaint masked and only masked options does not work in inpaint mode. The selected area is not cropped to the right size, instead the image size remains the same.

https://user-images.githubusercontent.com/31959570/221171278-6d460c15-220d-4ca9-a383-23ba6537b538.mp4

Steps to reproduce the problem

  1. Loaded the image into inpaint
  2. Highlighted the desired part with a mask
  3. Made adjustments to get only the masked area.

What should have happened?

I had to get a highlighted area with the given dimensions.

Commit where the problem happens

0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome

Command Line Arguments

--xformers --autolaunch --api

List of extensions

no

Console logs

venv "venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Launching Web UI with arguments: --xformers --autolaunch --api
Loading weights [d8691b4d16] from E:\SD_Portable\models\Stable-diffusion\deliberate_v11.safetensors
Creating model from config: E:\SD_Portable\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 2.4s (create model: 0.3s, apply weights to model: 0.4s, apply half(): 0.2s, move model to device: 0.5s, load textual inversion embeddings: 0.9s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.

Additional information

No response

Igrom4ik commented 1 year ago

How do I fix it? Reinstalling the repository didn't work (