Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions torchvision/datasets/stanford_cars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand All @@ -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 <https://github.com/pytorch/vision/issues/7545#issuecomment-1631441616>`_.
seems to be available on Kaggle so you can try to manually download and configure it using
`these instructions <https://github.com/pytorch/vision/issues/7545#issuecomment-1631441616>`_,
or use an integrated
`dataset on Kaggle <https://github.com/pytorch/vision/issues/7545#issuecomment-2282674373>`_.
In both cases, first download and configure the dataset locally, and use the dataset with
``"download=False"``.
"""

def __init__(
Expand Down
Loading