Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'inference_detector_huge_image' from 'mmdet.apis' (/home/avantika/workspace/OBBDetection/mmdet/apis/__init__.py) #196

Open
AbhaSinghPathania opened this issue Aug 10, 2023 · 3 comments

Comments

@AbhaSinghPathania
Copy link

image

This error is coming when i use the following command for inference :
python huge_image_demo.py demo/demo.jpg configs/obb/oriented_rcnn/faster_rcnn_orpn_r50_fpn_1x_dota10.py checkpoints/faster_rcnn_orpn_r50_fpn_1x_dota10_epoch12.pth BboxToolkit/tools/split_configs/dota1_0/ss_test.json

I am using python 3.9 and mmcv version 1.6.2 and getting this error.
How can I resolve this?

@fengjingchehu
Copy link

请问你有解决吗?

@fengjingchehu
Copy link

I want to know if you have solved this problem

@biubiubiu-bang
Copy link

The mmdet that the author uses is the mmdet that he added and modified, not the official mmdet module. So you need to download the author's mmdet source from github and install it. I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants