未验证 提交 44112687 编写于 作者: W Wei Shengyu 提交者: GitHub

Merge pull request #1906 from weisy11/fix-logger

[bug fix]remove logger.colring
......@@ -116,9 +116,8 @@ def init_model(config, net, optimizer=None, loss: paddle.nn.Layer=None):
load_distillation_model(net, pretrained_model)
else: # common load
load_dygraph_pretrain(net, path=pretrained_model)
logger.info(
logger.coloring("Finish load pretrained model from {}".format(
pretrained_model), "HEADER"))
logger.info("Finish load pretrained model from {}".format(
pretrained_model))
def save_model(net,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册