youngskkim / CRN

[ICCV'23] Official implementation of CRN: Camera Radar Net for Accurate, Robust, Efficient 3D Perception
MIT License
99 stars 15 forks source link

Latest cuda version adaptation #14

Closed chloexiangyy closed 2 months ago

chloexiangyy commented 3 months ago

Hello,

I am trying to run this code, but I found the error below: ModuleNotFoundError: No module named 'mmcv._ext'

I thought the reason maybe that my cuda version(12.2) is not compatible with my mmcv version(1.6.0, which is designated in the installation part).

Since I am sharing the cuda environment with other people, it is hard to reinstall a lower version(like 11.1 in the installation part). So I wonder if the source code can run perfectly with a later version of dependencies? Not only cuda but also others such as torch/ torch vision/ pytorch-lightning/ mmcv/ mmsegmentation/ mmdet/ etc. ...

Looking forward to your reply. Best wishes.

chloexiangyy commented 2 months ago

I installed cuda 11.1 and change the path everytime a terminal is opened.

export CUDA_HOME=/usr/local/cuda-11.1 export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH export PATH=/usr/local/cuda-11.1/bin:$PATH nvcc -V