From 16e46efb72161ea018436a5ffa646b71097b7750 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Mon, 21 Dec 2020 19:57:01 +0800 Subject: [PATCH] remove fluid (#1943) --- dygraph/deploy/python/infer.py | 1 - dygraph/ppdet/modeling/architectures/ssd.py | 1 - 2 files changed, 2 deletions(-) diff --git a/dygraph/deploy/python/infer.py b/dygraph/deploy/python/infer.py index 933966d62..abde5fb5a 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 a1b4aec20..d11aa88da 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 -- GitLab