This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This script will demonstrate how to use a pretrained model, in PyTorch, | |
to make predictions. Specifically, we will be using VGG16 with a cat | |
image. | |
References used to make this script: | |
PyTorch pretrained models doc: | |
http://pytorch.org/docs/master/torchvision/models.html | |
PyTorch image transforms example: | |
http://pytorch.org/tutorials/beginner/data_loading_tutorial.html#transforms |