mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 18:54:18 +00:00
Fixes after review.
This commit is contained in:
parent
317f5ec64e
commit
4351e1ea14
@ -23,10 +23,10 @@ from pathlib import Path
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
from lhotse import (
|
from lhotse import (
|
||||||
|
ChunkedLilcomHdf5Writer,
|
||||||
CutSet,
|
CutSet,
|
||||||
KaldifeatFbank,
|
KaldifeatFbank,
|
||||||
KaldifeatFbankConfig,
|
KaldifeatFbankConfig,
|
||||||
LilcomHdf5Writer,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Torch's multithreaded behavior needs to be disabled or
|
# 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}",
|
storage_path=f"{output_dir}/feats_XL_{idx}",
|
||||||
num_workers=args.num_workers,
|
num_workers=args.num_workers,
|
||||||
batch_duration=args.batch_duration,
|
batch_duration=args.batch_duration,
|
||||||
storage_type=LilcomHdf5Writer,
|
storage_type=ChunkedLilcomHdf5Writer,
|
||||||
)
|
)
|
||||||
|
|
||||||
logging.info("About to split cuts into smaller chunks.")
|
logging.info("About to split cuts into smaller chunks.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user