[저장용] train_loader
MNIST/CIFAR10등 torch 라이브러리에서 지원하는 데이터 조작법 import torchvisionimport torchvision.transforms as transformsfrom torchvision.datasets import CIFAR10from torch.utils.data import DataLoader transforms_train = transforms.Compose([transforms.RandomCrop(32, padding=4),transforms.RandomHorizontalFlip(),transforms.ToTensor(),transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)),])transfor..
2019. 2. 8.