This file contains hidden or 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 torch | |
from PIL import Image | |
from torch.utils.data import DataLoader | |
import torchvision | |
from torchvision import transforms, datasets | |
from torch.autograd import Variable | |
import torch.nn as nn | |
import torch.optim | |
import torch.backends.cudnn as cudnn; cudnn.benchmark = True |