//--------------------------------------
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