Skip to content

Commit

Permalink
Download to root dir, not file path
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 14, 2025
1 parent 0a6d011 commit 97db6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/bigearthnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def _download(self) -> None:
for fname, md5 in meta['files'].items():
target_path = os.path.join(self.root, fname)
if not os.path.exists(target_path):
download_url(self.url.format(fname), target_path, md5)
download_url(self.url.format(fname), self.root, md5)

def _extract(self) -> None:
"""Extract the tarball parts.
Expand Down

0 comments on commit 97db6ba

Please sign in to comment.