from local

This commit is contained in:
dohe0342 2022-12-10 11:12:29 +09:00
parent b8939486c4
commit efd6edd27e
2 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ class LibriSpeechAsrDataModule:
if self.args.on_the_fly_feats:
validate = K2SpeechRecognitionDataset(
cut_transforms=transforms,
input_strategy=OnTheFlyFeatures(Fbank(FbankConfig(num_mel_bins=80))),
input_strategy=eval(self.args.input_strategy)(),
#input_strategy=OnTheFlyFeatures(Fbank(FbankConfig(num_mel_bins=80))),
return_cuts=self.args.return_cuts,
)
else: