We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee81e5 commit fe0ac3aCopy full SHA for fe0ac3a
torchvision/datasets/imagenette.py
@@ -81,10 +81,7 @@ def _check_exists(self) -> bool:
81
82
def _download(self):
83
if self._check_exists():
84
- raise RuntimeError(
85
- f"The directory {self._size_root} already exists. "
86
- f"If you want to re-download or re-extract the images, delete the directory."
87
- )
+ return
88
89
download_and_extract_archive(self._url, self.root, md5=self._md5)
90
0 commit comments