diff --git a/mmskeleton/utils/third_party.py b/mmskeleton/utils/third_party.py index b9d1a2c01..aaf29134f 100644 --- a/mmskeleton/utils/third_party.py +++ b/mmskeleton/utils/third_party.py @@ -1,8 +1,8 @@ import lazy_import pycocotools = lazy_import.lazy_module("pycocotools") -COCO = lazy_import.lazy_module("pycocotools.COCO") -COCOeval = lazy_import.lazy_module("pycocotools.COCOeval") +COCO = lazy_import.lazy_module("pycocotools.coco.COCO") +COCOeval = lazy_import.lazy_module("pycocotools.cocoeval.COCOeval") mmdet = lazy_import.lazy_module("mmdet") lazy_import.lazy_module("mmdet.apis") @@ -13,4 +13,4 @@ def is_exist(module_name): lazy_import._load_module(module) return True except ImportError: - return False \ No newline at end of file + return False