from local

This commit is contained in:
dohe0342 2022-12-28 10:36:23 +09:00
parent 083337affa
commit aa917115b7
2 changed files with 12 additions and 3 deletions

View File

@ -430,9 +430,18 @@ class LibriSpeechAsrDataModule:
@lru_cache()
def train_other_500_cuts(self, option=None) -> CutSet:
logging.info("About to get train-other-500 cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-other-500_new.jsonl"
)
if option is None:
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-other-500_new.jsonl"
)
elif option == 'male':
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-other-500_male.jsonl"
)
elif option == 'female':
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-other-500_female.jsonl"
)
@lru_cache()
def train_all_shuf_cuts(self) -> CutSet: