wsl下复现,本机gpu4060,cuda版本最起码需要11.3,进入选择对应的cuda11.3的下载命令,CUDA Toolkit 11.3 Downloads | NVIDIA Developer
安装步骤,可借鉴博文linux服务器cuda,cudnn的安装与卸载_tesla t4 最佳cuda版本_NuerNuer的博客-CSDN博客
conda create -n pamir python=3.9
删除requirements.txt中的opendr(暂时不装)、torch==1.7.0 、torchaudio==0.7.0 、torchvision==0.8.1
pyembree,再conda install -c conda-forge pyembree,pytorch用下面这条命令安装。
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
numpy用1.23.0,scikit-image用 0.16.2,opencv-python用4.8.0.76