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

Fixed smoothing issue with interpolating on PIL image when loading 2AFC images #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexhepburn
Copy link

There is an issue when calling torchvision.transforms.Resize on PIL images where antialiasing occurs. If you call torchvision.transforms.ToTensor() before resizing this issue is fixed.

I think this is a recent issue but it is worth checking whether this occurred during the perceptual experiments, as there is significant smoothing when resizing the BAPPS images (which are saved as 256x256 images with repeating blocks of 4x4) to 64x64.

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

Successfully merging this pull request may close these issues.

1 participant