天天看點

(最新)安裝tensorflow2.0 GPU/CPU指令

以下指令都自己親測過,伺服器安裝了gpu環境,自己筆記本安裝了cpu環境

速度挺快的!!!

🏃 安裝tensorflow2.0—CPU

pip install tensorflow==2.0 -i https://pypi.douban.com/simple
           

💃 安裝tensorflow2.0—GPU

pip install tensorflow-gpu==2.0 -i https://pypi.douban.com/simple
           
  • GPU還需要NVIDIA和CUDNN支援哦

👫 安裝成功

(最新)安裝tensorflow2.0 GPU/CPU指令

繼續閱讀