Lim0011's picture
Upload 251 files
85e3d20 verified
raw
history blame
268 Bytes
from torchvision import datasets
taskname = "cifar10-training"
download_dir = "../env"
train_dataset = datasets.CIFAR10(root=f'{download_dir}/data', train=True, download=True)
test_dataset = datasets.CIFAR10(root=f'{download_dir}/data', train=False, download=True)