未验证 提交 aeda569d 编写于 作者: C cnn 提交者: GitHub

fix import error (#1820)

上级 de09c0e6
...@@ -31,7 +31,7 @@ from ppdet.utils.check import check_config, check_version, enable_static_mode ...@@ -31,7 +31,7 @@ from ppdet.utils.check import check_config, check_version, enable_static_mode
import ppdet.utils.checkpoint as checkpoint import ppdet.utils.checkpoint as checkpoint
import yaml import yaml
import logging import logging
from export_model import parse_reader, dump_infer_config, prune_feed_vars from ppdet.utils.export_utils import dump_infer_config, prune_feed_vars
FORMAT = '%(asctime)s-%(levelname)s: %(message)s' FORMAT = '%(asctime)s-%(levelname)s: %(message)s'
logging.basicConfig(level=logging.INFO, format=FORMAT) logging.basicConfig(level=logging.INFO, format=FORMAT)
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册