diff --git a/torchvision/datasets/eurosat.py b/torchvision/datasets/eurosat.py index 3f490b11902..c6571d2abab 100644 --- a/torchvision/datasets/eurosat.py +++ b/torchvision/datasets/eurosat.py @@ -9,6 +9,9 @@ class EuroSAT(ImageFolder): """RGB version of the `EuroSAT `_ Dataset. + For the MS version of the dataset, see + `TorchGeo `__. + Args: root (str or ``pathlib.Path``): Root directory of dataset where ``root/eurosat`` exists. transform (callable, optional): A function/transform that takes in a PIL image @@ -53,7 +56,7 @@ def download(self) -> None: os.makedirs(self._base_folder, exist_ok=True) download_and_extract_archive( - "https://madm.dfki.de/files/sentinel/EuroSAT.zip", + "https://huggingface.co/datasets/torchgeo/eurosat/resolve/c877bcd43f099cd0196738f714544e355477f3fd/EuroSAT.zip", download_root=self._base_folder, md5="c8fa014336c82ac7804f0398fcb19387", )