Skip to content

Commit

Permalink
mmdet bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yysijie committed Jan 21, 2020
1 parent fb45201 commit ee4cd7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmskeleton/apis/estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import numpy as np
import torch
import mmcv
import mmdet

from mmskeleton.datasets.utils.video_demo import VideoDemo
from mmskeleton.utils import get_mmskeleton_url
from mmskeleton.processor.apis import init_twodimestimator, inference_twodimestimator

import mmdet.apis


def init_pose_estimator(detection_cfg, estimation_cfg, device=None):

Expand Down
1 change: 1 addition & 0 deletions mmskeleton/utils/third_party.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
COCO = lazy_import.lazy_module("pycocotools.COCO")
COCOeval = lazy_import.lazy_module("pycocotools.COCOeval")
mmdet = lazy_import.lazy_module("mmdet")
lazy_import.lazy_module("mmdet.apis")


def is_exist(module_name):
Expand Down

0 comments on commit ee4cd7e

Please sign in to comment.