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

ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext' #12

Open
hw-liang opened this issue Aug 12, 2022 · 3 comments
Open

Comments

@hw-liang
Copy link

hw-liang commented Aug 12, 2022

Hi, I strictly followed the installation instructions. But I always met this problem using the mmdetection v0.13.0 with the files in ../mmdet3d_full.

'
File "MUTR3D/mmdetection3d/mmdet3d/ops/iou_loss/sort.py", line 4, in
from .iou_loss_ext import sort_vertices_forward
ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext'
'
It seems that the file iou_loss_ext.py is missing in mmdet3d/ops/iou_loss/.
Any suggestions? Could you help to solve it? Thanks.

@Gorazor
Copy link

Gorazor commented Oct 25, 2022

Hi, I strictly followed the installation instructions. But I always met this problem using the mmdetection v0.13.0 with the files in ../mmdet3d_full.

' File "MUTR3D/mmdetection3d/mmdet3d/ops/iou_loss/sort.py", line 4, in from .iou_loss_ext import sort_vertices_forward ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext' ' It seems that the file iou_loss_ext.py is missing in mmdet3d/ops/iou_loss/. Any suggestions? Could you help to solve it? Thanks.

I encountered the same problem and solved it by changing python version in conda env to 3.7. Guess that the cython-packaged iou_loss_ext SO file is restricted in python 3.7 env.

@yesokyin
Copy link

Hi, I strictly followed the installation instructions. But I always met this problem using the mmdetection v0.13.0 with the files in ../mmdet3d_full.

' File "MUTR3D/mmdetection3d/mmdet3d/ops/iou_loss/sort.py", line 4, in from .iou_loss_ext import sort_vertices_forward ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext' ' It seems that the file iou_loss_ext.py is missing in mmdet3d/ops/iou_loss/. Any suggestions? Could you help to solve it? Thanks.

Hello, I also encountered this problem, have you solved it? Any suggestions?

@yuanl15
Copy link

yuanl15 commented Apr 8, 2024

Hi, I strictly followed the installation instructions. But I always met this problem using the mmdetection v0.13.0 with the files in ../mmdet3d_full.
' File "MUTR3D/mmdetection3d/mmdet3d/ops/iou_loss/sort.py", line 4, in from .iou_loss_ext import sort_vertices_forward ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext' ' It seems that the file iou_loss_ext.py is missing in mmdet3d/ops/iou_loss/. Any suggestions? Could you help to solve it? Thanks.

I encountered the same problem and solved it by changing python version in conda env to 3.7. Guess that the cython-packaged iou_loss_ext SO file is restricted in python 3.7 env.

But I encountered the same problem in python 3.7 env.It doesn't work.Coud you tell me your cuda version?

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

4 participants