fudan-zvg / Ego3RT

[ECCV 2022] Learning Ego 3D Representation as Ray Tracing
MIT License
105 stars 7 forks source link

cannot import name 'msda_ext' #2

Closed Solacex closed 2 years ago

Solacex commented 2 years ago

Hello,

Thanks for your interesting work!

We run the training command and met teh following error:

File "/root/paddlejob/workspace/whole/cameraBEV/env/guangrui_cuda11/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/root/paddlejob/workspace/whole/cameraBEV/projects/mmdet3d_plugin/init.py", line 2, in from .models.necks.ego3rt_tracing import Ego3rtTracing File "/root/paddlejob/workspace/whole/cameraBEV/projects/mmdet3d_plugin/models/necks/init.py", line 1, in from .ego3rt_tracing import Ego3rtTracing File "/root/paddlejob/workspace/whole/cameraBEV/projects/mmdet3d_plugin/models/necks/ego3rt_tracing.py", line 17, in from projects.mmdet3d_plugin.ops.msda.modules import MSDeformAttn, MVMSAdaptiveAttn File "/root/paddlejob/workspace/whole/cameraBEV/projects/mmdet3d_plugin/ops/msda/modules.py", line 21, in from .functional import MSDeformAttnFunction File "/root/paddlejob/workspace/whole/cameraBEV/projects/mmdet3d_plugin/ops/msda/functional.py", line 18, in from . import msda_ext ImportError: cannot import name 'msda_ext' from 'projects.mmdet3d_plugin.ops.msda' (unknown location)

And the mmdet3d_plugin/ops/msda only contains the following modules:

image

Any suggestions for debugging this?

VictorLlu commented 2 years ago

We update installation instructions. Sorry for the inconvenience.

Solacex commented 2 years ago

Thanks for the update, the setup is achieved now