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
When executing the following block cell (from Unit 6 of the Audio Course - subsection "Fine-tune SpeechT5") in my notebook environnement:
from datasets import load_dataset
dataset = load_dataset("facebook/voxpopuli", "nl", split="train")
len(dataset)
I get the following error message. The wav file mentionned at the end seems to change at each execution of the cell.
I didn't have any problem with all the other datasets that I had to download in all previous units of the course.
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\site-packages\datasets\utils\py_utils.py:512, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc)
509 batch_size = max(len(iterable) // num_proc + int(len(iterable) % num_proc > 0), 1)
510 iterable = list(iter_batched(iterable, batch_size))
511 mapped = [
--> 512 _single_map_nested((function, obj, batched, batch_size, types, None, True, None))
513 for obj in hf_tqdm(iterable, disable=disable_tqdm, desc=desc)
514 ]
515 if batched:
516 mapped = [mapped_item for mapped_batch in mapped for mapped_item in mapped_batch]
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\site-packages\datasets\utils\py_utils.py:396, in _single_map_nested(args)
393 with hf_tqdm(pbar_iterable, disable=disable_tqdm, position=rank, unit="obj", desc=pbar_desc) as pbar:
394 if isinstance(data_struct, dict):
395 return {
--> 396 k: _single_map_nested((function, v, batched, batch_size, types, None, True, None)) for k, v in pbar
397 }
398 else:
399 mapped = [_single_map_nested((function, v, batched, batch_size, types, None, True, None)) for v in pbar]
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\site-packages\datasets\utils\py_utils.py:399, in _single_map_nested(args)
395 return {
396 k: _single_map_nested((function, v, batched, batch_size, types, None, True, None)) for k, v in pbar
397 }
398 else:
--> 399 mapped = [_single_map_nested((function, v, batched, batch_size, types, None, True, None)) for v in pbar]
400 if isinstance(data_struct, list):
401 return mapped
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\site-packages\datasets\utils\py_utils.py:373, in _single_map_nested(args)
371 return function([data_struct])[0]
372 else:
--> 373 return function(data_struct)
374 if (
375 batched
376 and not isinstance(data_struct, dict)
377 and isinstance(data_struct, types)
378 and all(not isinstance(v, (dict, types)) for v in data_struct)
379 ):
380 return [mapped_item for batch in iter_batched(data_struct, batch_size) for mapped_item in function(batch)]
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\site-packages\datasets\download\download_manager.py:229, in DownloadManager._download_single(self, url_or_filename, download_config)
226 if is_relative_path(url_or_filename):
227 # append the relative path to the base_path
228 url_or_filename = url_or_path_join(self._base_path, url_or_filename)
--> 229 out = cached_path(url_or_filename, download_config=download_config)
230 out = tracked_str(out)
231 out.set_origin(url_or_filename)
File C:\ProgramData\anaconda3\envs\hf_audio_course\Lib\tarfile.py:2494, in TarFile.makefile(self, tarinfo, targetpath)
2492 source.seek(tarinfo.offset_data)
2493 bufsize = self.copybufsize
-> 2494 with bltn_open(targetpath, "wb") as target:
2495 if tarinfo.sparse is not None:
2496 for offset, size in tarinfo.sparse:
Hi folks,
When executing the following block cell (from Unit 6 of the Audio Course - subsection "Fine-tune SpeechT5") in my notebook environnement:
I get the following error message. The wav file mentionned at the end seems to change at each execution of the cell.
I didn't have any problem with all the other datasets that I had to download in all previous units of the course.
The text was updated successfully, but these errors were encountered: