streaming fix
Browse files
dcase23-task2-enriched.py
CHANGED
@@ -399,7 +399,7 @@ class DCASE2023Task2Dataset(datasets.GeneratorBasedBuilder):
|
|
399 |
if split in self.config.splits:
|
400 |
audio_path[split] = dl_manager.download(self.config.data_urls[split])
|
401 |
local_extracted_archive[split] = dl_manager.extract(
|
402 |
-
audio_path[split]) if not dl_manager.is_streaming else None
|
403 |
if self.config.embeddings_urls is not None:
|
404 |
for emb_name, emb_data in self.config.embeddings_urls.items():
|
405 |
downloaded_embeddings = dl_manager.download(emb_data[split])
|
|
|
399 |
if split in self.config.splits:
|
400 |
audio_path[split] = dl_manager.download(self.config.data_urls[split])
|
401 |
local_extracted_archive[split] = dl_manager.extract(
|
402 |
+
audio_path[split]) #if not dl_manager.is_streaming else None
|
403 |
if self.config.embeddings_urls is not None:
|
404 |
for emb_name, emb_data in self.config.embeddings_urls.items():
|
405 |
downloaded_embeddings = dl_manager.download(emb_data[split])
|