diff --git a/dygraph/deploy/python/infer.py b/dygraph/deploy/python/infer.py index 933966d6219c1bc0ea603e24da5a862e20bf7ad9..abde5fb5a2b12599d1bacb747c4e9939b9376e49 100644 --- a/dygraph/deploy/python/infer.py +++ b/dygraph/deploy/python/infer.py @@ -23,7 +23,6 @@ from PIL import Image import cv2 import numpy as np import paddle -import paddle.fluid as fluid from preprocess import preprocess, ResizeOp, NormalizeImageOp, PermuteOp, PadStride from visualize import visualize_box_mask from paddle.inference import Config diff --git a/dygraph/ppdet/modeling/architectures/ssd.py b/dygraph/ppdet/modeling/architectures/ssd.py index a1b4aec20d9130d544df08a4993f03ab1e906100..d11aa88da7ed46e01c247b51deb0ab7fe99bfe9f 100644 --- a/dygraph/ppdet/modeling/architectures/ssd.py +++ b/dygraph/ppdet/modeling/architectures/ssd.py @@ -2,7 +2,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from paddle import fluid from ppdet.core.workspace import register from .meta_arch import BaseArch