Skip to content

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