前言
类似于【PyTorch学习笔记】安装PyTorch2.0.0,CUDA11.8
1.创建虚拟环境
虚拟环境名字为unet_cuda12.4_torch2.4.0(名字可以修改),python为3.8,通道是清华镜像
conda create -n unet_cuda12.4_torch2.4.0 python=3.8 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
虚拟环境名字为unet_cuda12.4_torch2.4.0(名字可以修改),python为3.8,通道是清华镜像
conda create -n unet_cuda12.4_torch2.4.0 python=3.8 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main