invoke-ai / invoke-ai/InvokeAI

[bug]: Regional Guidance Layers should (probably) scale when changing resolution

Open
#6,313 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this problem?

- [X] I have searched the existing issues

### Operating system

macOS

### GPU vendor

Apple Silicon (MPS)

### GPU model

_No response_

### GPU VRAM

_No response_

### Version number

4.2.0b1

### Browser

Chrome

### Python dependencies

_No response_

### What happened

When you change the resolution of the generation, existing regional guidance layers keep their previous resolution and are squashed into the top left corner of the new image.

### What you expected to happen

I run into this quite frequently with the current version when i try to "upscale" an image by doing an img2img pass with a higher resolution:
When using regional guidance layers for any generation (especially when painting on the initial image in an img2img workflow), the expectation after changing the resolution would be that those layers are stretched to the new resolution.

Right now I can't imagine any workflow in which the previously configured layers are still usable on a different resolution. So if scaling the layers is difficult, they probably should be at least removed?

### How to reproduce the problem

_No response_

### Additional context

_No response_

### Discord username

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.