conda配置安装pytorch tensorflow-gpu
//--------------------------------------
conda配置安装pytorch
1、新建环境,避免与基础环境出现冲突
conda create -n pytorch_gpu python=3.7
2、切换到pytorch环境
conda activate pytorch_gpu
3、安装基本框架
conda install pandas
conda install jupyter notebook
......
conda install pytorch torchvision cudatoolkit=10.1
//-------------------------------------
利用conda安装指定版本的tensorflow
conda install --channel https://conda.anaconda.org/anaconda tensorflow=1.6.0
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
conda install --channel https://conda.anaconda.org/anaconda tensorflow=1.8.0
//------------------------------------------------------
conda install --channel https://conda.anaconda.org/jjh_cio_testing tensorflow-gpu
_________________________________________________________________________________________________________________________________________________
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采

浙公网安备 33010602011771号