I have the error in both cases. Can you try updating torchvision ?
pip install -U torchvision

[edit]: Just realize this post is(really) old. For the sake of having an answer, having an up-to-date version of torchvision should do the trick.