From 4351e1ea14d2f0c9006f865fc00f9447a56e3b5a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sun, 28 Nov 2021 15:10:55 +0800 Subject: [PATCH] Fixes after review. --- egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py b/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py index acbb418ad..ff7e9c770 100755 --- a/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py +++ b/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py @@ -23,10 +23,10 @@ from pathlib import Path import torch from lhotse import ( + ChunkedLilcomHdf5Writer, CutSet, KaldifeatFbank, KaldifeatFbankConfig, - LilcomHdf5Writer, ) # Torch's multithreaded behavior needs to be disabled or @@ -100,7 +100,7 @@ def compute_fbank_gigaspeech_splits(args): storage_path=f"{output_dir}/feats_XL_{idx}", num_workers=args.num_workers, batch_duration=args.batch_duration, - storage_type=LilcomHdf5Writer, + storage_type=ChunkedLilcomHdf5Writer, ) logging.info("About to split cuts into smaller chunks.")