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

Install with CPU only Problem #181

Open
zilunzhang opened this issue Jan 12, 2023 · 0 comments
Open

Install with CPU only Problem #181

zilunzhang opened this issue Jan 12, 2023 · 0 comments

Comments

@zilunzhang
Copy link

zilunzhang commented Jan 12, 2023

Hi,

I tried to build the OBBDetection for CPU only environment (macOS).

I commented the line 255 in "setup.py" ("ext_modules" argument), which makes lots of cuda related extensions. The build was successful.
Is there anything else I need to do to build the OBBDetection for CPU only environment?

I run the command after, but got the error "ImportError: cannot import name 'corner_pool_ext' from partially initialized module 'mmdet.ops.corner_pool' (most likely due to a circular import) (/Users/zilun/Desktop/FirstProject/OBBDetection/mmdet/ops/corner_pool/init.py)".
Any suggestion?

python demo/huge_image_demo.py ../../../../Desktop/test.png configs/obb/oriented_rcnn/faster_rcnn_orpn_r50_fpn_1x_dota10.py ckpt/faster_rcnn_orpn_r50_fpn_1x_dota10_epoch12.pth BboxToolkit/tools/split_configs/dota1_0/ss_test.json

Thanks

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

1 participant