diff --git a/torchvision/datasets/stanford_cars.py b/torchvision/datasets/stanford_cars.py index c029ed0d358..6264de82eb7 100644 --- a/torchvision/datasets/stanford_cars.py +++ b/torchvision/datasets/stanford_cars.py @@ -15,6 +15,7 @@ class StanfordCars(VisionDataset): has been split roughly in a 50-50 split The original URL is https://ai.stanford.edu/~jkrause/cars/car_dataset.html, but it is broken. + Follow the instructions in ``download`` argument to obtain and use the dataset offline. .. note:: @@ -29,8 +30,12 @@ class StanfordCars(VisionDataset): target and transforms it. download (bool, optional): This parameter exists for backward compatibility but it does not download the dataset, since the original URL is not available anymore. The dataset - seems to be available on Kaggle so you can try to manually download it using - `these instructions `_. + seems to be available on Kaggle so you can try to manually download and configure it using + `these instructions `_, + or use an integrated + `dataset on Kaggle `_. + In both cases, first download and configure the dataset locally, and use the dataset with + ``"download=False"``. """ def __init__(