安装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位版本则会报错,笔者本人用一年的时间来才发现了这个错误。

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-11-05
  • 2022-12-23
  • 2021-08-31
猜你喜欢
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案