Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

it is not possible to make images with other ratio aspects, any image that is not 1:1 returns the error "RuntimeError: shape '[8, 1, 8, 12]' is invalid for input of size 832" #14

Open
llk228 opened this issue Feb 13, 2023 · 3 comments

Comments

@llk228
Copy link

llk228 commented Feb 13, 2023

Hello friends, I am having problems generating images that are not 1:1. Whenever I change the resolution outside of this proportion, it returns an error similar to the one in the printout. The number changes for each resolution.

Screenshot_30

This is the information reflected in my prompt.

Screenshot_31

@kybercore
Copy link

Your resolution needs to be a multiple of 2. So e. g. 512*640

@kybercore
Copy link

Also you need to disable high res fix

@Woisek
Copy link

Woisek commented Apr 3, 2023

@parsec501
Why? Your suggestions are heavy limitations on generating the image we want to generate. I'm experience the same thing as @llk228 and honestly, it has to be fixed in that manner, that every resolution is supported. The size plays a major role in how a image is generated, so reducing the input to square and to not have Hires. fix enabled, falsifies the result considerably.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants