重新配置环境,先删除环境
1.conda remove --name gx --all
2.conda create -n gx python =3.7
3.conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch
(因为torch啥啥啥的版本都要对应)
4.顺序安装即可
5.遇到simpleITK的时候,pip install SimpleITK==2.0.0,因为高版本不兼容。
6.剩下的顺序安装就行