mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
fix isort
This commit is contained in:
parent
88c35c5e29
commit
d23bacc23b
@ -19,11 +19,13 @@
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
from concurrent.futures import ProcessPoolExecutor as Pool
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from concurrent.futures import ProcessPoolExecutor as Pool
|
||||
|
||||
import lhotse
|
||||
import torch
|
||||
from feature import TorchAudioFbank, TorchAudioFbankConfig
|
||||
from lhotse import (
|
||||
CutSet,
|
||||
LilcomChunkyWriter,
|
||||
@ -31,9 +33,6 @@ from lhotse import (
|
||||
set_audio_duration_mismatch_tolerance,
|
||||
)
|
||||
|
||||
from feature import TorchAudioFbank, TorchAudioFbankConfig
|
||||
import lhotse
|
||||
|
||||
# Torch's multithreaded behavior needs to be disabled or
|
||||
# it wastes a lot of CPU and slow things down.
|
||||
# Do this outside of main() in case it needs to take effect
|
||||
|
@ -24,15 +24,14 @@ This file reads the texts in given manifest and save the cleaned new cuts.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
from concurrent.futures import ProcessPoolExecutor as Pool
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
from lhotse import CutSet, load_manifest_lazy
|
||||
from concurrent.futures import ProcessPoolExecutor as Pool
|
||||
|
||||
from tokenizer import (
|
||||
is_alphabet,
|
||||
is_chinese,
|
||||
|
Loading…
x
Reference in New Issue
Block a user