Datasets:

ArXiv:
DOI:
License:
mwirth7 commited on
Commit
a5ed11f
1 Parent(s): 53f5cf5

Update BirdSet.py

Browse files
Files changed (1) hide show
  1. BirdSet.py +3 -3
BirdSet.py CHANGED
@@ -375,8 +375,8 @@ class BirdSet(datasets.GeneratorBasedBuilder):
375
  datasets.SplitGenerator(
376
  name="test_5s",
377
  gen_kwargs={
378
- "audio_archive_iterators": [dl_manager.iter_archive(archive_path) for archive_path in dl_dir["test"]],
379
- "local_audio_archives_paths": local_audio_archives_paths["test"] if local_audio_archives_paths else None,
380
  "metapath": dl_dir["metadata_5s"],
381
  "split": "test_multilabel"
382
  },
@@ -405,7 +405,7 @@ class BirdSet(datasets.GeneratorBasedBuilder):
405
  datasets.SplitGenerator(
406
  name="test_5s",
407
  gen_kwargs={
408
- "audio_archive_iterators": [dl_manager.iter_archive(archive_path) for archive_path in dl_dir["test"]],
409
  "local_audio_archives_paths": local_audio_archives_paths["test_5s"] if local_audio_archives_paths else None,
410
  "metapath": dl_dir["meta_test_5s"],
411
  "split": "test_multilabel"
 
375
  datasets.SplitGenerator(
376
  name="test_5s",
377
  gen_kwargs={
378
+ "audio_archive_iterators": [dl_manager.iter_archive(archive_path) for archive_path in dl_dir["test_5s"]],
379
+ "local_audio_archives_paths": local_audio_archives_paths["test_5s"] if local_audio_archives_paths else None,
380
  "metapath": dl_dir["metadata_5s"],
381
  "split": "test_multilabel"
382
  },
 
405
  datasets.SplitGenerator(
406
  name="test_5s",
407
  gen_kwargs={
408
+ "audio_archive_iterators": [dl_manager.iter_archive(archive_path) for archive_path in dl_dir["test_5s"]],
409
  "local_audio_archives_paths": local_audio_archives_paths["test_5s"] if local_audio_archives_paths else None,
410
  "metapath": dl_dir["meta_test_5s"],
411
  "split": "test_multilabel"