From 993abc52b5b8c891d1814b4b4af513c66771fc8b Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Aug 2022 03:52:35 +0000 Subject: [PATCH] fix: rm useless code --- deploy/python/build_gallery.py | 1 - paddleclas.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/python/build_gallery.py b/deploy/python/build_gallery.py index 28fd0838..8184d596 100644 --- a/deploy/python/build_gallery.py +++ b/deploy/python/build_gallery.py @@ -20,7 +20,6 @@ from tqdm import tqdm import pickle from paddleclas.deploy.utils import logger, config -from paddleclas.deploy.utils.predictor import Predictor from paddleclas.deploy.python.predict_rec import RecPredictor from paddleclas.deploy.python.predict_rec import RecPredictor diff --git a/paddleclas.py b/paddleclas.py index 8d5e93a8..7a1b4017 100644 --- a/paddleclas.py +++ b/paddleclas.py @@ -39,9 +39,9 @@ from deploy.python.predict_cls import ClsPredictor from deploy.utils.get_image_list import get_image_list from deploy.utils import config +# for the PaddleClas Project to import import deploy import ppcls -# 'deploy.python', 'deploy.utils', 'ppcls.arch', 'ppcls.utils' # for building model with loading pretrained weights from backbone logger.init_logger() -- GitLab