You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to download the Kenya Crop Type dataset but I was getting a no such file or directory error for the tar.gz files. I believe there is a discrepancy between the dataset folder structure as it's downloaded from Radiant MLHub and the folder structure assumed in CV4AKenyaCropType. Eventually, I managed to iterate through the DataLoader by compressing the source and labels folders in ref_african_crops_kenya_02_labels.tar.gz and ref_african_crops_kenya_02_source.tar.gz.
This is the folder structure I originally had after downloading the dataset:
And this is the one after tweaking it to agree with the code... I think that setting checksum=False doesn't extract the tar.gz files and when set to True it does...
I'm unable to reproduce this issue. What version of radiant-mlhub are you using? TorchGeo only supports radiant-mlhub 0.2.1–0.4, 0.5+ won't work, see #711. @KennSmithDS has there been any progress on radiant-mlhub 0.5+ support?
Description
I've been trying to download the Kenya Crop Type dataset but I was getting a
no such file or directory error
for the tar.gz files. I believe there is a discrepancy between the dataset folder structure as it's downloaded from Radiant MLHub and the folder structure assumed inCV4AKenyaCropType
. Eventually, I managed to iterate through the DataLoader by compressing the source and labels folders inref_african_crops_kenya_02_labels.tar.gz
andref_african_crops_kenya_02_source.tar.gz
.This is the folder structure I originally had after downloading the dataset:
- root dir
- - ref_african_crops_kenya_02
- - - ref_african_crops_kenya_02_source
- - - ref_african_crops_kenya_02_labels
- - - catalog.json
- - - err_report
- - - mlhub_stac_assets.db
And this is the one after tweaking it to agree with the code... I think that setting
checksum=False
doesn't extract the tar.gz files and when set to True it does...- root dir
- - ref_african_crops_kenya_02_labels
- - ref_african_crops_kenya_02_source
- - ref_african_crops_kenya_02_labels.tar.gz
- - ref_african_crops_kenya_02_source.tar.gz
Steps to reproduce
Version
0.3.1
The text was updated successfully, but these errors were encountered: