Skip to content

Commit

Permalink
Remove changes to prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Aug 6, 2024
1 parent f1fe19f commit a8c8a3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions torchvision/prototype/datasets/_builtin/eurosat.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ def _info() -> Dict[str, Any]:

@register_dataset(NAME)
class EuroSAT(Dataset):
"""RGB version of the EuroSAT Dataset.
"""EuroSAT Dataset.
homepage="https://github.com/phelber/eurosat",
For the MS version of the dataset, see
`TorchGeo <https://torchgeo.readthedocs.io/en/stable/api/datasets.html#eurosat>`__.
"""

def __init__(self, root: Union[str, pathlib.Path], *, skip_integrity_check: bool = False) -> None:
Expand All @@ -45,7 +42,7 @@ def __init__(self, root: Union[str, pathlib.Path], *, skip_integrity_check: bool
def _resources(self) -> List[OnlineResource]:
return [
HttpResource(
"https://huggingface.co/datasets/torchgeo/eurosat/resolve/c877bcd43f099cd0196738f714544e355477f3fd/EuroSAT.zip",
"https://madm.dfki.de/files/sentinel/EuroSAT.zip",
sha256="8ebea626349354c5328b142b96d0430e647051f26efc2dc974c843f25ecf70bd",
)
]
Expand Down

0 comments on commit a8c8a3c

Please sign in to comment.