Skip to content

Commit

Permalink
fixed wrong default value for the alimeeting recipe (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Sep 8, 2024
1 parent 2ff0bb6 commit 65b8a6c
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def add_arguments(cls, parser: argparse.ArgumentParser):
group.add_argument(
"--manifest-dir",
type=Path,
default=Path("data/manifests"),
default=Path("data/fbank"),
help="Path to directory with train/valid/test cuts.",
)
group.add_argument(
Expand Down Expand Up @@ -327,9 +327,11 @@ def valid_dataloaders(self, cuts_valid: CutSet) -> DataLoader:
def test_dataloaders(self, cuts: CutSet) -> DataLoader:
logging.debug("About to create test dataset")
test = K2SpeechRecognitionDataset(
input_strategy=OnTheFlyFeatures(Fbank(FbankConfig(num_mel_bins=80)))
if self.args.on_the_fly_feats
else PrecomputedFeatures(),
input_strategy=(
OnTheFlyFeatures(Fbank(FbankConfig(num_mel_bins=80)))
if self.args.on_the_fly_feats
else PrecomputedFeatures()
),
return_cuts=True,
)
sampler = DynamicBucketingSampler(
Expand Down

0 comments on commit 65b8a6c

Please sign in to comment.