Closed jaretburkett closed 10 months ago
Thanks for the PR!. This didn't fix things in some scenarios I tried so I fixed it this way instead:
https://github.com/shiimizu/ComfyUI-PhotoMaker/commit/75542a4bb50aff055efc2a7b63fcacc2eb05642d:
It should be okay since encode_image
will only rescale if necessary.
https://github.com/shiimizu/ComfyUI-PhotoMaker/blob/75542a4bb50aff055efc2a7b63fcacc2eb05642d/photomaker.py#L129
Images coming in from nodes are already scaled. This fixes https://github.com/shiimizu/ComfyUI-PhotoMaker/issues/5