from local

This commit is contained in:
dohe0342 2023-01-03 12:59:40 +09:00
parent 02c2d12135
commit 0b458ea932
2 changed files with 4 additions and 4 deletions

View File

@ -471,13 +471,13 @@ class LibriSpeechAsrDataModule:
self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl" self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl"
) )
@lru_cache() @lru_cache()
def test_clean_cuts(self, option=None) -> CutSet: def test_clean_cuts(self, option=None) -> CutSet:
logging.info("About to get test-clean cuts") logging.info("About to get test-clean cuts")
return load_manifest_lazy( if option is None:
self.args.manifest_dir / f"librispeech_cuts_test-clean_{option}.jsonl" return load_manifest_lazy(
) self.args.manifest_dir / f"librispeech_cuts_test-clean.jsonl"
)
@lru_cache() @lru_cache()
def test_other_cuts(self, option=None) -> CutSet: def test_other_cuts(self, option=None) -> CutSet: