mirror of
https://github.com/altoiddealer/--sd-webui-ar-plusplus.git
synced 2026-11-05 00:37:25 +00:00
[GH-ISSUE #5] Occasional TypeError upon pressing the 1:1 button #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
altoiddealer/--sd-webui-ar-plusplus#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Technologicat on GitHub (Sep 1, 2024).
Original GitHub issue: https://github.com/altoiddealer/--sd-webui-ar-plusplus/issues/5
It sometimes happens that
wand/orhare of typestr, notint. Then trying to compute(w + h) / 2raises aTypeError, and the image dimensions are not updated.Unfortunately this only happens sometimes, and I haven't yet figured out exactly when. The last time this hit me, I was in the img2img tab.
What I do know, however, is that this can be fixed by introducing an explicit typecast, like this: