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 acbf3f5 commit be47d7cCopy full SHA for be47d7c
torchvision/prototype/datasets/_builtin/eurosat.py
@@ -26,11 +26,12 @@ def _make_info(self) -> DatasetInfo:
26
)
27
28
def resources(self, config: DatasetConfig) -> List[OnlineResource]:
29
- data = HttpResource(
30
- "https://madm.dfki.de/files/sentinel/EuroSAT.zip",
31
- sha256="8ebea626349354c5328b142b96d0430e647051f26efc2dc974c843f25ecf70bd",
32
- )
33
- return [data]
+ return [
+ HttpResource(
+ "https://madm.dfki.de/files/sentinel/EuroSAT.zip",
+ sha256="8ebea626349354c5328b142b96d0430e647051f26efc2dc974c843f25ecf70bd",
+ )
34
+ ]
35
36
def _prepare_sample(self, data: Tuple[str, Any]) -> Dict[str, Any]:
37
path, buffer = data
0 commit comments