-
Notifications
You must be signed in to change notification settings - Fork 7.1k
torchvision.transforms Images are incorrect #4486
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
Comments
Thanks for the report @MaxVanDijck The things you're showing aren't supposed to represent the specfic image transformations, they are just thumbnails that link to the example where each transformation is illustrated in more details. I don't think sphinx-gallery supports having different thumbnails for different backlinks, that would involve a lot of manual work that we would prefer to avoid anyway. We can however change the thumbnail to make it more obvious https://sphinx-gallery.github.io/stable/configuration.html#choosing-the-thumbnail-image. I'm not sure which one would be best though. Perhaps the GrayScale image one, as it's bigger? (https://pytorch.org/vision/stable/auto_examples/plot_transforms.html#grayscale) If you have a better idea we're all ear :) |
@NicolasHug Maybe rather than showing one specific transform we can use another image that makes it clearer that it is linking to the gallery? Such as a larger image with multiple different transforms shown for example one like so: |
That sounds great @MaxVanDijck ! |
@MaxVanDijck just making sure, would you like to submit a PR for this, or are you OK for us to let someone else grab it? We're not in a rush so if you want to do it we can definitely wait a few days if needed |
@NicolasHug You can let anyone grab this issue! |
I'd like to give this a try! |
📚 The doc issue
All the example astronaut images on https://pytorch.org/vision/stable/transforms.html show the same pad transform as shown:
Suggest a potential alternative/fix
Images should be changed to images that show the correct transforms
The text was updated successfully, but these errors were encountered: