
pytorch虚拟环境配置
GPU版本建议离线安装下载包地址https://download.pytorch.org/whl/torch_stable.html。创建虚拟环境:conda create -n pytorch37(创建虚拟环境的名字) python=3.7(版本为3.7)复制环境:conda create -n new_name --clone old_name。删除环境:conda remove -n pytorch37 --all。进入/切换虚拟环境:conda activate pytorch37。



