From ae90a87f851bc491b08987c2c32ecd175c8ef06d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Aug 2022 13:17:45 +0000 Subject: [PATCH] fix: fix error import path --- ppcls/utils/check.py | 4 +--- ppcls/utils/model_zoo.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ppcls/utils/check.py b/ppcls/utils/check.py index bc703081..59255124 100644 --- a/ppcls/utils/check.py +++ b/ppcls/utils/check.py @@ -22,9 +22,7 @@ import sys import paddle from paddle import is_compiled_with_cuda -from ppcls.arch import get_architectures -from ppcls.arch import similar_architectures -from ppcls.arch import get_blacklist_model_in_static_mode +from ppcls.arch.utils import get_architectures, similar_architectures, get_blacklist_model_in_static_mode from ppcls.utils import logger diff --git a/ppcls/utils/model_zoo.py b/ppcls/utils/model_zoo.py index fc527f6a..fce9f464 100644 --- a/ppcls/utils/model_zoo.py +++ b/ppcls/utils/model_zoo.py @@ -23,7 +23,7 @@ import tarfile import tqdm import zipfile -from ppcls.arch import similar_architectures +from ppcls.arch.utils import similar_architectures from ppcls.utils import logger __all__ = ['get'] -- GitLab