We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every call to __getitem__ will result in the entire dataset being loaded from file -- https://github.com/microsoft/torchgeo/blob/main/torchgeo/datasets/sustainbench_crop_yield.py#L140.
__getitem__
We should check if the files are mmapped (and release mmapped version if not), or add caching to make this dataset faster.
The text was updated successfully, but these errors were encountered:
The data is so small that I think we can just preload everything up front -- am testing this currently
Sorry, something went wrong.
nilsleh
Successfully merging a pull request may close this issue.
Every call to
__getitem__
will result in the entire dataset being loaded from file -- https://github.com/microsoft/torchgeo/blob/main/torchgeo/datasets/sustainbench_crop_yield.py#L140.We should check if the files are mmapped (and release mmapped version if not), or add caching to make this dataset faster.
The text was updated successfully, but these errors were encountered: