Created
April 27, 2018 04:30
-
-
Save johnolafenwa/f8438c4abf27baf38cdd9a2f4aee0ca2 to your computer and use it in GitHub Desktop.
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
# Import needed packages | |
import torch | |
import torch.nn as nn | |
from torchvision.transforms import transforms | |
from torch.autograd import Variable | |
from torchvision.models import squeezenet1_1 | |
import requests | |
import shutil | |
from io import open | |
import os | |
from PIL import Image | |
import json | |
model = squeezenet1_1(pretrained=True) | |
model.eval() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment