From 2b4322a0824224fedb334eb07f68d53f263ea296 Mon Sep 17 00:00:00 2001 From: "Douglas H. Bradshaw" Date: Mon, 26 Feb 2018 17:47:11 -0600 Subject: [PATCH] Clarify that root specifies download target folder --- torchvision/datasets/cifar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/datasets/cifar.py b/torchvision/datasets/cifar.py index 72e4a4c694f..ac7a7269af3 100644 --- a/torchvision/datasets/cifar.py +++ b/torchvision/datasets/cifar.py @@ -18,7 +18,7 @@ class CIFAR10(data.Dataset): Args: root (string): Root directory of dataset where directory - ``cifar-10-batches-py`` exists. + ``cifar-10-batches-py`` exists or will be saved to if download is set to True. train (bool, optional): If True, creates dataset from training set, otherwise creates from test set. transform (callable, optional): A function/transform that takes in an PIL image