Check Torchvision Version

Check the TorchVision version by printing the version parameter

Check the TorchVision version by printing the version parameter

Video Transcript


This video will show you how to check the Torchvision version by printing the version parameter


First, we import Torchvision

import torchvision


Then we print the Torchvision version parameter

print(torchvision.__version__)

So you can see here we say torchvision.__version__

And you can see that we're using torchvision 0.2.1.


Perfect! We were able to check the torchvision version by printing the version parameter.

Receive the Data Science Weekly Newsletter every Thursday

Easy to unsubscribe at any time. Your e-mail address is safe.