Skip to content

Does Removing Image Resize Affect Inpainting Quality? #146

Description

@xiao10ma

Hi, I noticed that the image and mask are resized in the PowerPaintController class:

input_image["image"] = input_image["image"].resize((H, W))
input_image["mask"] = input_image["mask"].resize((H, W))

I'm wondering: if I comment out or remove this resizing step, will it negatively affect the quality of the inpainting results?
Would it be possible for the model to still work effectively with the original image and mask resolutions?

Thanks in advance for your clarification!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions