Open
Description
Issue
I need help getting the example code on the README.md to work. I am now concentrating on the Benchmark datasets (https://github.com/microsoft/torchgeo?tab=readme-ov-file#benchmark-datasets).
I am running on the Planetary Computer platform.
I did not have any luck with the platform's default torchgeo
and so run
!pip install torchgeo --upgrade
And this gives me version '0.5.2'.
However, I am still having problems....
dataset = VHR10('data', download=True, checksum=True)
RuntimeError: The MD5 checksum of the download file data[/NWPU](https://pccompute.westeurope.cloudapp.azure.com/NWPU) VHR-10 dataset.rar does not match the one on record.
from torchgeo.datamodules.utils import collate_fn_detection
ImportError: cannot import name 'collate_fn_detection' from 'torchgeo.datamodules.utils' ([/srv/conda/envs/notebook/lib/python3.11/site-packages/torchgeo/datamodules/utils.py](https://pccompute.westeurope.cloudapp.azure.com/srv/conda/envs/notebook/lib/python3.11/site-packages/torchgeo/datamodules/utils.py))
Fix
I assume version problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment