This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Support for newer versions torchvision - get_image_size #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Private function _get_image_size was changed to the public in torchvision v0.11.
torchvision v0.11 was released in October 2021, thus I think it would be good to have the VICRegL repository limited to v0.11 and above.
"The code has been developed for PyTorch version 1.7.1 and torchvision version 0.8.2, but should work with other versions just as well." -> The alternative would be to at least mention that there is a compatibility break in the more recent versions.
The use of torchvision v0.11 and above will result in the following error: pytorch/vision#4328