Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parse width and height as int when applying metadata #2452

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

mashb1t
Copy link
Collaborator

@mashb1t mashb1t commented Mar 5, 2024

Fixes #2446

fixes an issue with A1111 metadata scheme where resolution is a string

fixes an issue with A1111 metadata scheme where resolution is a string
@mashb1t mashb1t requested a review from lllyasviel as a code owner March 5, 2024 17:17
@mashb1t mashb1t merged commit 6cfcc62 into lllyasviel:main Mar 5, 2024
@mashb1t mashb1t deleted the hotfix/parse-resolution-as-int branch March 5, 2024 17:18
mashb1t added a commit that referenced this pull request Mar 9, 2024
* fix: parse width and height as int when applying metadata (#2452)

fixes an issue with A1111 metadata scheme where width and height are strings after splitting resolution

* feat: use jpeg instead of jpg, use enums instead of strings
mashb1t added a commit that referenced this pull request Mar 10, 2024
* fix problem

1. In partial redrawing, when refiner is empty, enable use_synthetic_refiner. The default switching timing of 0.5 is too early, which is now modified to SDXL default of 0.8.
2. When using custom steps, the calculation of switching timing is wrong. Now it is modified to calculate "steps x timing" after custom steps are used.

* fix: parse width and height as int when applying metadata (#2452)

fixes an issue with A1111 metadata scheme where width and height are strings after splitting resolution

* fix: do not attempt to remove non-existing image grid file (#2456)

image grid is actually not an image here but a numpy array, as the grid isn't saved by default

* feat: add troubleshooting guide to bug report template again (#2489)

---------

Co-authored-by: Manuel Schmid <[email protected]>
Co-authored-by: Manuel Schmid <[email protected]>
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.

[Bug]: Error when reproducing image metadata with non-standard resolution (1920x1080).
1 participant