[Question]
Yasmin-Kassim opened this issue · comments
❓ Question
Hi, I'm working inside WSL2 and I tried several times to setup my conda environment:
Here are the steps:
conda create -n nndetection python=3.8.5
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch
pip install -e .
Everything finishes without errors; However, I'm getting this error when I run this: " python -c "import torch; import nndet._C; import nndet"
Traceback (most recent call last):
File "", line 1, in
ImportError: /mnt/c/Users/Yasmin/pycharm_projects/nnDetection-main/nndet/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _Z8nms_cudaRKN2at6TensorES2_f
Could you tell me please how to solve this?
Hi @Yasmin-Kassim ,
I haven't tried nnDetection on WSL2 yet. The error indicates some mismatch regarding your installed CUDA version and Pytorch's CUDA version. Please check the FAQ for additional debugging steps.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.