mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-09 09:04:19 +00:00
minor fixes
This commit is contained in:
parent
0e7df7c5c4
commit
6939b3d6aa
@ -40,9 +40,8 @@ from lhotse import (
|
|||||||
KaldifeatFbankConfig,
|
KaldifeatFbankConfig,
|
||||||
LilcomChunkyWriter,
|
LilcomChunkyWriter,
|
||||||
)
|
)
|
||||||
from lhotse.recipes.utils import read_manifests_if_cached
|
|
||||||
|
|
||||||
from icefall.utils import get_executor, str2bool
|
from icefall.utils import get_executor
|
||||||
|
|
||||||
# Torch's multithreaded behavior needs to be disabled or
|
# Torch's multithreaded behavior needs to be disabled or
|
||||||
# it wastes a lot of CPU and slow things down.
|
# it wastes a lot of CPU and slow things down.
|
||||||
@ -102,14 +101,14 @@ def get_args():
|
|||||||
"--start",
|
"--start",
|
||||||
type=int,
|
type=int,
|
||||||
default=0,
|
default=0,
|
||||||
help="Process pieces starting from this number (inclusive). Only used in medium and large subset",
|
help="Process pieces starting from this number (inclusive).",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--stop",
|
"--stop",
|
||||||
type=int,
|
type=int,
|
||||||
default=-1,
|
default=-1,
|
||||||
help="Stop processing pieces until this number (exclusive). Only used in medium and large subset",
|
help="Stop processing pieces until this number (exclusive).",
|
||||||
)
|
)
|
||||||
|
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user