兵马逐浪去,将象入海流。炮声震心动,惊起卧龙游。
我的博客园主页 --------- 我的知乎主页 --------- 我的github主页 --------- 我的csdn主页 --------- 我的新浪微博

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







posted @ 2020-07-07 07:09  leoking01  阅读(948)  评论(0编辑  收藏  举报
#back-to-top { background-color: #00CD00; bottom: 0; box-shadow: 0 0 6px #00CD00; color: #444444; padding: 10px 10px; position: fixed; right: 50px; cursor: pointer; }