Tried to read to pickle file but a "ModuleNotFoundError: No module named 'mmdet3d'" error occurred #2247
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Maybe you can try to load it with MMEngine. |
Beta Was this translation helpful? Give feedback.
-
@BuddyZhu Hi, how did you save the results? I guess maybe you save the box structures |
Beta Was this translation helpful? Give feedback.
-
Both are fine. Your solution is on the master/dev branch while my solution is on the dev-1.x branch: specificly, |
Beta Was this translation helpful? Give feedback.
@BuddyZhu Hi, how did you save the results? I guess maybe you save the box structures
LiDARInstance3DBoxes
rather thannp.ndarray
so the pkl file parsing will import mmdet3d.You can set
pklfile_prefix
to specify the saved path in the command script and we will save the results https://github.com/open-mmlab/mmdetection3d/blob/dev-1.x/mmdet3d/evaluation/metrics/kitti_metric.py#L438