mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
a455cc6ddc
commit
b231b2249d
Binary file not shown.
@ -430,25 +430,25 @@ class LibriSpeechAsrDataModule:
|
||||
def dev_clean_cuts(self, option='new') -> CutSet:
|
||||
logging.info("About to get dev-clean cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_dev-clean_new.jsonl"
|
||||
self.args.manifest_dir / f"librispeech_cuts_dev-clean_{option}.jsonl"
|
||||
)
|
||||
|
||||
@lru_cache()
|
||||
def dev_other_cuts(self) -> CutSet:
|
||||
def dev_other_cuts(self, option='new') -> CutSet:
|
||||
logging.info("About to get dev-other cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_dev-other_new.jsonl"
|
||||
self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl"
|
||||
)
|
||||
|
||||
@lru_cache()
|
||||
def test_clean_cuts(self) -> CutSet:
|
||||
def test_clean_cuts(self, option='new') -> CutSet:
|
||||
logging.info("About to get test-clean cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_test-clean_new.jsonl"
|
||||
self.args.manifest_dir / f"librispeech_cuts_test-clean_{option}.jsonl"
|
||||
)
|
||||
|
||||
@lru_cache()
|
||||
def test_other_cuts(self) -> CutSet:
|
||||
def test_other_cuts(self, option='new') -> CutSet:
|
||||
logging.info("About to get test-other cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_test-other_new.jsonl"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user