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

How we can use PerceptualSimilarity loss function for images with different sizes #104

Open
kiashann opened this issue May 3, 2022 · 2 comments

Comments

@kiashann
Copy link

kiashann commented May 3, 2022

Hi, I want to use this loss function for two images with different size. How I can do that?
It's possible to use this loss function for predicted images with different sizes with input images?
@dvschultz

@njuaplusplus
Copy link

I used PyTorch resize function to resize them to the same size.

@richzhang
Copy link
Owner

Yes, and make sure you turn antialias=True =)

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

No branches or pull requests

3 participants