安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。
GPU版本:
pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install tensorflow==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

 

备注:安装的时候需要python是64位版本,32位版本则会报错,笔者本人用一年的时间来才发现了这个错误。

内容来源于网络如有侵权请私信删除
你还没有登录,请先登录注册
  • 还没有人评论,欢迎说说您的想法!