Trouble Loading Data

#6
by Vaantje - opened

I would like to use this dataset but when I try to load it I receive this error:
"BadZipFile: zipfiles that span multiple disks are not supported"

The dataviewer on Hugging Face gives the same error. Does anyone know what the current status of this dataset is?

Same here by running:

# Import the load_dataset function
from datasets import load_dataset

# Load the BioMassters dataset
dataset = load_dataset("nascetti-a/BioMassters")

# Print the dataset
print(dataset)

I also have the same issue

Following solution worked for me for train_features data (downloaded the 'train_features.z{number}' files and 'train_features.zip' folder manually): All '.z{number}' files + zip folder have to be in the same directory. Then I used 7-Zip to unzip the 'train_features.z01' file and suddenly the entire contents of all '.z{number}' files + zip folder were unzipped at once. The feature data is usable now.

Previously I tried to unzip and use only the data from 'train_features.zip' because I didn't know what the 'train_features.z{number}' files were all about. It turned out that the number of unzipped files of the zip folder was exactly the same as the complete train_features part of the dataset, but most of these files were empty. Apparently, these unpacked, empty files were just placeholders for the actual files. My assumption is therefore that the 'train_features.z{number}' files and the 'train_features.zip' folder all represent splits of the train_features data, which are dependent on each other with regard to unzipping and must therefore be in the same folder for unpacking.

Very thankful for this open source dataset, however the instructions for downloading and using it could really be more precise.

@Hillui @Vaantje @enemni We rehosted the dataset on torchgeo HF as tar balls with extraction instructions. We have not supported hugginface dataloader, but instead have one in torchgeo. Maybe that helps, let us know.

Sign up or log in to comment