MIXIAOXIN / ProjectNote

Note
0 stars 0 forks source link

编译mmdetection3d问题 #8

Open MIXIAOXIN opened 1 month ago

MIXIAOXIN commented 1 month ago
  1. ImportError:~/mmcv/_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at5sliceERKNS_6TensorElN3c108optionalIlEES5_l

原因:mmcv与pytorch和cuda版本不符合 解决方案:?

  1. 根据官网配置,安装好mmdetection3d后,出现问题: File "/workspace/lanemap_regress/mmdetection3d/mmdet3d/models/data_preprocessors/voxelize.py", line 72, in forward voxels = points.new_zeros( RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

原因: cuda_toolkit = 11.3, pytorch=1.9 解决方案?