'How to check which pytorch version fits torchvision
I am trying to clone and run this repository: https://github.com/switchablenorms/CelebAMask-HQ
The demo runs with PyTorch 0.4.1, and I am trying to find the corresponding version, how can I find it?
Solution 1:[1]
The corresponding torchvision version for 0.4.1 is 0.2.1.
The easiest way is to look it up in the previous versions section. Only if you couldn't find it, you can have a look at the torchvision release data and pytorch's version. There you can find which version, got release with which version!
Solution 2:[2]
One way to find the torch-to-torchvision correspondence is by looking at the table on https://pypi.org/project/torchvision/.
Based on that, I'd say the current version at the time of this writing is 0.2.2.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | halfer |
| Solution 2 |
