wangguanan/JSIA-ReID

ImportError: /anaconda3/envs/pytorch/lib/python3.7/site-packages/torchvision/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda20setCurrentCUDAStreamENS0_10CUDAStreamE

Lavenderpb opened this issue · 1 comments

ImportError: /anaconda3/envs/pytorch/lib/python3.7/site-packages/torchvision/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda20setCurrentCUDAStreamENS0_10CUDAStreamE

maybe there are some error in your environment.
you can try a virtual environment using the command below:

conda create -n jsiareid python=3.7
conda activate jsiareid
conda install pytorch==1.4.0 torchvision -c pytorch