PyTorch 1.5.0 and torchvision 0.6.0 should be compatible.
Are you using the 1.0.0 version by any chance?



 rvandeghen:

I can not print torchvision.__version__ given that I can not even import it, but the version in my conda env is 0.6.0.


Yeah, you are right. That didn’t make sense to suggest.