minor fixes

This commit is contained in:
danqing fu 2023-06-06 11:12:21 +08:00
parent 09c4946c15
commit e609dfee29

View File

@ -82,7 +82,7 @@ from icefall.checkpoint import (
find_checkpoints, find_checkpoints,
load_checkpoint, load_checkpoint,
) )
from icefall.utils import setup_logger, str2bool, make_pad_mask from icefall.utils import str2bool, make_pad_mask
def get_parser(): def get_parser():
@ -427,8 +427,6 @@ def main():
if torch.cuda.is_available(): if torch.cuda.is_available():
device = torch.device("cuda", 0) device = torch.device("cuda", 0)
setup_logger(f"{params.exp_dir}/log-export/log-export-onnx")
logging.info(f"device: {device}") logging.info(f"device: {device}")
sp = spm.SentencePieceProcessor() sp = spm.SentencePieceProcessor()