//--------------------------------------

 

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







1、新建环境,避免与基础环境出现冲突

conda create -n pytorch_gpu python=3.7

2、切换到pytorch环境

conda activate pytorch_gpu

3、安装基本框架

conda install pandas
conda install jupyter notebook
......

相关文章:

  • 2021-12-04
  • 2021-09-13
  • 2021-09-10
  • 2021-09-13
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2021-04-01
猜你喜欢
  • 2021-08-09
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
相关资源
相似解决方案