WXinlong / SOLO

SOLO and SOLOv2 for instance segmentation, ECCV 2020 & NeurIPS 2020.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'coco_eval' from 'mmdet.core'

Miky9527 opened this issue · comments

I want to inference my local data using pretrained model, but i got some ImportError:
from mmdet.core import coco_eval, results2json, wrap_fp16_model, tensor2imgs, get_classes
ImportError: cannot import name 'coco_eval' from 'mmdet.core' (/home/lijiangtao/anaconda3/envs/mmlab1/lib/python3.9/site-packages/mmdet-2.23.0-py3.9.egg/mmdet/core/init.py).

anyone here can help me solve this problem. THANKS !!