Skip to content

Commit

Permalink
Fix estimate duration bins from multiple paths (NVIDIA#8508)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Żelasko <[email protected]>
Signed-off-by: Zeeshan Patel <[email protected]>
  • Loading branch information
pzelasko authored and zpx01 committed Mar 8, 2024
1 parent 944138e commit d59acd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/speech_recognition/estimate_duration_bins.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main():
args = parse_args()
config = OmegaConf.merge(
OmegaConf.structured(LhotseDataLoadingConfig),
OmegaConf.create({"manifest_filepath": args.input, "missing_sampling_rate_ok": True}),
OmegaConf.from_dotlist([f"manifest_filepath={args.input}", "missing_sampling_rate_ok=true"]),
)
cuts, _ = read_cutset_from_config(config)
min_dur, max_dur = args.min_duration, args.max_duration
Expand Down

0 comments on commit d59acd2

Please sign in to comment.