以下命令都自己亲测过,服务器安装了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支持哦
👫 安装成功
