Error in downloading the dataset for any density in config_kwargs except "fatty"

#1
by vspatil - opened

Hi,

Unfortunately while downloading and loading the dataset for different densities (other than "fatty") the following error occurs:

Traceback (most recent call last):
File "/env/lib/python3.7/site-packages/datasets/builder.py", line 1629, in _prepare_split_single
for key, record in generator:
File "/.cache/huggingface/modules/datasets_modules/datasets/didsr--msynth/ed031b075a03f577c98f203011bf8fd3ab21d4a2930e7231d6ba7be09c3bbf7d/msynth.py", line 349, in _generate_examples
tmp_dir = self.sort_file_paths(tmp_dir)
File "/.cache/huggingface/modules/datasets_modules/datasets/didsr--msynth/ed031b075a03f577c98f203011bf8fd3ab21d4a2930e7231d6ba7be09c3bbf7d/msynth.py", line 335, in sort_file_paths
sorted_indices, sorted_numbers = zip(*sorted_numbers_with_indices)
ValueError: not enough values to unpack (expected 2, got 0)

The above exception was the direct cause of the following exception:

raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset

This error usually occurs after the data has been already downloaded.
If I run the script again just to load the downloaded data the same error occurs but the error follows these few lines:

Failed to download https://huggingface.co/datasets/didsr/msynth/resolve/main/data/device_data_VICTREPhantoms_spic_1.1/6.94e09/dense/2/9.0/SIM.zip: Couldn't find file at https://huggingface.co/datasets/didsr/msynth/resolve/main/data/device_data_VICTREPhantoms_spic_1.1/6.94e09/dense/2/9.0/SIM.zip because it is not present. Moving on to the next available file
Failed to download https://huggingface.co/datasets/didsr/msynth/resolve/main/data/device_data_VICTREPhantoms_spic_1.1/8.67e09/dense/2/9.0/SIM.zip: Couldn't find file at https://huggingface.co/datasets/didsr/msynth/resolve/main/data/device_data_VICTREPhantoms_spic_1.1/8.67e09/dense/2/9.0/SIM.zip because it is not present. Moving on to the next available file

Any advice on how to get around this would be very helpful.
Thanks!

Hi Vaishnavi,
Thanks a lot for the comment. We found an issue that stopped the data loader for other density options. We fixed it and successfully tested it in our side. Can you please test it on your side.

vspatil changed discussion status to closed

Sign up or log in to comment