Commit
•
92be018
1
Parent(s):
d22a730
Fix streaming mode (#13)
Browse files- [WIP] Fix streaming mode (f89067e0dedc98e90f860c6dd2f21cf060c11991)
- fix tuple (742365fc739d5ad4b208d6f066317807d857ea7d)
multilingual_librispeech.py
CHANGED
@@ -147,7 +147,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
|
|
147 |
"transcript_path": transcripts["train"],
|
148 |
"audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
|
149 |
"local_extracted_archive": local_extracted_archives.get("train"),
|
150 |
-
"limited_ids_paths": limited_supervision_9h,
|
151 |
},
|
152 |
),
|
153 |
datasets.SplitGenerator(
|
@@ -156,7 +156,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
|
|
156 |
"transcript_path": transcripts["train"],
|
157 |
"audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
|
158 |
"local_extracted_archive": local_extracted_archives.get("train"),
|
159 |
-
"limited_ids_paths": limited_supervision_1h,
|
160 |
},
|
161 |
),
|
162 |
]
|
|
|
147 |
"transcript_path": transcripts["train"],
|
148 |
"audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
|
149 |
"local_extracted_archive": local_extracted_archives.get("train"),
|
150 |
+
"limited_ids_paths": tuple(limited_supervision_9h),
|
151 |
},
|
152 |
),
|
153 |
datasets.SplitGenerator(
|
|
|
156 |
"transcript_path": transcripts["train"],
|
157 |
"audio_archives": [dl_manager.iter_archive(archive) for archive in audio_archives["train"]],
|
158 |
"local_extracted_archive": local_extracted_archives.get("train"),
|
159 |
+
"limited_ids_paths": tuple(limited_supervision_1h),
|
160 |
},
|
161 |
),
|
162 |
]
|