提交 f6923adf 编写于 作者: W weishengyu

remove logger.colring

上级 283ae9b3
......@@ -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.
先完成此消息的编辑!
想要评论请 注册