pip install tensorflow-gpu==1.14 -i https://mirrors.aliyun.com/pypi/simple
tensorflow-gpu 是选择gpu版本的TensorFlow
-i 换源 改为 https://mirrors.aliyun.com/pypi/simple 阿里源
安装好了之后可以安装keras
keras与TensorFlow关系如下:
https://docs.floydhub.com/guides/environments/
pip install keras==2.2.5 -i https://mirrors.aliyun.com/pypi/simple
清华的源 很慢 没用上
另外还有王博士提供的离线安装方法,没用用上:可以尝试