Closed nomcycle closed 3 months ago
Yeah, thanks! I didn't test for different ratios, so the mistake in determining width and height~
And I've just realized that I've also made a mistake when using aspect_ratio, since aspect_ratio should be width/height, but I thought it was height/width. Just fixed that.
Thanks for the additional improvements, though after testing seems like I"m encountering some exceptions:
This is because widths and heights were swapped here which I fixed:
It's only for
comfy.utils.common_upscale
that has it's widths/heights swapped.Also, regarding this line:
Shouldn't this be this or am I misunderstanding: