未验证 提交 2866aa3d 编写于 作者: K Kaipeng Deng 提交者: GitHub

fix sensitive import (#441)

上级 f6d7d9a3
...@@ -38,7 +38,6 @@ set_paddle_flags( ...@@ -38,7 +38,6 @@ set_paddle_flags(
from paddle import fluid from paddle import fluid
from ppdet.experimental import mixed_precision_context from ppdet.experimental import mixed_precision_context
from ppdet.core.workspace import load_config, merge_config, create from ppdet.core.workspace import load_config, merge_config, create
#from ppdet.data.data_feed import create_reader
from ppdet.data.reader import create_reader from ppdet.data.reader import create_reader
...@@ -49,7 +48,6 @@ from ppdet.utils.stats import TrainingStats ...@@ -49,7 +48,6 @@ from ppdet.utils.stats import TrainingStats
from ppdet.utils.cli import ArgsParser from ppdet.utils.cli import ArgsParser
from ppdet.utils.check import check_gpu, check_version from ppdet.utils.check import check_gpu, check_version
import ppdet.utils.checkpoint as checkpoint import ppdet.utils.checkpoint as checkpoint
from ppdet.modeling.model_input import create_feed
from paddleslim.prune import sensitivity from paddleslim.prune import sensitivity
import logging import logging
FORMAT = '%(asctime)s-%(levelname)s: %(message)s' FORMAT = '%(asctime)s-%(levelname)s: %(message)s'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册