Skip to content

Commit b308695

Browse files
Update executor.py
1 parent 0a5ee16 commit b308695

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wenet/utils/executor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def train(self, model, optimizer, scheduler, data_loader, writer, configs,
4040
' larger than before'.format(info_dict['accum_grad']))
4141
if info_dict["model_conf"]["apply_non_blank_embedding"]:
4242
logging.warn(
43-
'Had better load a well trained model if apply_non_blank_embedding is true !!!'
43+
'Had better load a well trained model if'
44+
'apply_non_blank_embedding is true !!!'
4445
)
4546
# A context manager to be used in conjunction with an instance of
4647
# torch.nn.parallel.DistributedDataParallel to be able to train

0 commit comments

Comments
 (0)