mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
minor fixes
This commit is contained in:
parent
09c4946c15
commit
e609dfee29
@ -82,7 +82,7 @@ from icefall.checkpoint import (
|
||||
find_checkpoints,
|
||||
load_checkpoint,
|
||||
)
|
||||
from icefall.utils import setup_logger, str2bool, make_pad_mask
|
||||
from icefall.utils import str2bool, make_pad_mask
|
||||
|
||||
|
||||
def get_parser():
|
||||
@ -427,8 +427,6 @@ def main():
|
||||
if torch.cuda.is_available():
|
||||
device = torch.device("cuda", 0)
|
||||
|
||||
setup_logger(f"{params.exp_dir}/log-export/log-export-onnx")
|
||||
|
||||
logging.info(f"device: {device}")
|
||||
|
||||
sp = spm.SentencePieceProcessor()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user