Skip to content

Eurosat No such file or directory: 'data/eurosat-train.txt' #2753

Open
@robmarkcole

Description

@robmarkcole

Description

With download=True this should be downloaded..?

Steps to reproduce

from torchgeo.datasets import EuroSAT

>>> ds = EuroSAT(root="data", download=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/teamspace/studios/this_studio/torchgeo/torchgeo/datasets/eurosat.py", line 144, in __init__
    with open(os.path.join(self.root, self.split_filenames[split])) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'data/eurosat-train.txt'

Version

0.8.0.dev0

Metadata

Metadata

Assignees

No one assigned

    Labels

    datasetsGeospatial or benchmark datasets

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions