Le Viet Hoang
commited on
Commit
·
3653c5c
1
Parent(s):
3e96494
fix
Browse files
VBVLSP.py
CHANGED
|
@@ -70,13 +70,15 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
| 70 |
"validation": datasets.Split.VALIDATION,
|
| 71 |
"test": datasets.Split.TEST,
|
| 72 |
}
|
|
|
|
|
|
|
| 73 |
for split in splits:
|
| 74 |
split_generators.append(
|
| 75 |
datasets.SplitGenerator(
|
| 76 |
name=split_names.get(split, split),
|
| 77 |
gen_kwargs={
|
| 78 |
"local_extracted_archive_path": local_extracted_archive_path,
|
| 79 |
-
"archive":
|
| 80 |
"meta_path": meta_paths[split],
|
| 81 |
},
|
| 82 |
),
|
|
|
|
| 70 |
"validation": datasets.Split.VALIDATION,
|
| 71 |
"test": datasets.Split.TEST,
|
| 72 |
}
|
| 73 |
+
archive = dl_manager.iter_archive(archive_path)
|
| 74 |
+
|
| 75 |
for split in splits:
|
| 76 |
split_generators.append(
|
| 77 |
datasets.SplitGenerator(
|
| 78 |
name=split_names.get(split, split),
|
| 79 |
gen_kwargs={
|
| 80 |
"local_extracted_archive_path": local_extracted_archive_path,
|
| 81 |
+
"archive": archive,
|
| 82 |
"meta_path": meta_paths[split],
|
| 83 |
},
|
| 84 |
),
|