open-mmlab / mmdetection3d

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

ImportError: /home/fjs/miniconda3/envs/fjs_mm/lib/python3.8/site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationESs #2543

Open JSure-F opened 1 year ago

JSure-F commented 1 year ago

i just follow the document to install mmetection3d dev-1.x branch. and there is no error occurred. however when i run python demo/pcd_demo.py demo/data/kitti/000008.bin pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car.py hv_pointpillars_secfpn_6x8_160e_kitti-3d-car_20220331_134606-d42d15ed.pth --show ,something wrong happened image i have tried to install it again, but it is useless. and when i run python mmdet3d/utils/collect_env.py follow as the pre-issue, the same error also happens. my env: pytorch 1.12 cuda 11.3 python 3.8 'mmcv>=2.0.0rc4' 'mmdet>=3.0.0' looking forward to your reply!!!!!

blackCmd commented 1 year ago

Me too...

J-xinyu commented 1 year ago

metoo

J-xinyu commented 1 year ago

@JingweiZhang12 Can you help us fix this bug?

ragini9m commented 1 year ago

this error is because of torch and CUDA compatibility issues. check the version and match them

ragini9m commented 1 year ago

I'm using CUDA=10.2,

conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 -c pytorch

this worked for me

PummelParty commented 7 months ago

I solved it by lowering the version of the mmdet and mmcv.