Skip to content

Conversation

@tjennings
Copy link
Contributor

hires was assuming the input image was always a square. Now we pick the smallest input dimension to compute the scale factor to reach the desired output size. This assumes both desired output dimensions (HxW) are > 512.

Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lstein lstein merged commit 387f796 into invoke-ai:development Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants