CUDA 12.1 python3.8

# CUDA 12.1
conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 -c pytorch -c nvidia

 

python3.9

conda install pytorch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1  pytorch-cuda=11.8 -c pytorch -c nvidia

 pip instal opencv-python慢,换安装源

pip install -i https://mirrors.aliyun.com/pypi/simple/ opencv-python

 
posted @ 2025-04-08 13:21  txwtech  阅读(70)  评论(0)    收藏  举报