Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection icon indicating copy to clipboard operation
Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection copied to clipboard

ImportError: cannot import name 'init_dist' from 'mmdet.apis' (/home/....../mmdetection/mmdet/apis/__init__.py)

Open mincwin opened this issue 5 years ago • 3 comments

I run the command: python tools/test.py
but appear an error :ImportError: cannot import name 'init_dist' from 'mmdet.apis' (/home/yu/Downloads/mmdetection/mmdet/apis/init.py) how to solve the problem Its very important for me. TorchVision: 0.4.0a0 OpenCV: 4.2.0 MMCV: 0.4.4 MMDetection: 1.1.0+unknown MMDetection Compiler: GCC 7.5 MMDetection CUDA Compiler: 10.0

mincwin avatar Apr 24 '20 09:04 mincwin

I also have such problem,have you solved it?

SakuBorder avatar Dec 02 '20 16:12 SakuBorder

From the solution of open-mmlab https://github.com/open-mmlab/mmdetection/issues/2527 Hope it helps

vinhtran1 avatar Apr 23 '21 04:04 vinhtran1

think you for your support!

------------------ 原始邮件 ------------------ 发件人: "hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection" @.>; 发送时间: 2021年4月23日(星期五) 中午12:59 @.>; @.@.>; 主题: Re: [hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection] ImportError: cannot import name 'init_dist' from 'mmdet.apis' (/home/....../mmdetection/mmdet/apis/init.py) (#8)

From the solution of open-mmlab open-mmlab/mmdetection#2527 Hope it helps

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

SakuBorder avatar Apr 23 '21 05:04 SakuBorder