open-mmlab / mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.
https://mmdetection3d.readthedocs.io/en/latest/
Apache License 2.0
5k stars 1.5k forks source link

ImportError: attempted relative import with no known parent package #2918

Open cxy2000 opened 3 months ago

cxy2000 commented 3 months ago

Branch

main branch https://mmdetection3d.readthedocs.io/en/latest/

📚 The doc issue

Traceback (most recent call last): File "/home/wanghuijuan005/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 11, in from .base import Base3DDetector ImportError: attempted relative import with no known parent package

Suggest a potential alternative/fix

No response

GG-nome commented 1 week ago

我也遇到这个问题了,请问你是怎么解决的