From 21006144d9a861e5ff0ca2a7e69857075b81170b Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Aug 2022 03:47:20 +0000 Subject: [PATCH] fix: import from paddleclas whl --- deploy/python/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/python/preprocess.py b/deploy/python/preprocess.py index 69527083..325fb02c 100644 --- a/deploy/python/preprocess.py +++ b/deploy/python/preprocess.py @@ -29,7 +29,7 @@ import importlib from PIL import Image from paddle.vision.transforms import ToTensor, Normalize -from python.det_preprocess import DetNormalizeImage, DetPadStride, DetPermute, DetResize +from paddleclas.deploy.python.det_preprocess import DetNormalizeImage, DetPadStride, DetPermute, DetResize def create_operators(params): -- GitLab