如何在Linux 系统 以及windows 系统安装 tensorflow -cpu -gpu 老版本 0.12 ,0.10

来源:互联网 发布:sql datetimeoffset 编辑:程序博客网 时间:2024/05/16 03:51
本人用的Python2.7,在做一些论文中的实验复现是出现了tensorflow 不兼容的问题,所以需要更新我们的tensorflow
这里是一些更新的命令:
本人使用的是Python2.7版本
linux+++++++++++++++++++++++++++++++++++++++++++
在python2.7中
0.12版本
TensorFlow-cpu 0.12版本
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp27-none-linux_x86_64.whl
tensorflow-gpu 0.12版本
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc1-cp27-none-linux_x86_64.whl
注意:如何在这里出现错误 直接输入 sudo pip install tensorflow_gpu-0.12.0rc1
orsudo pip install tensorflow_0.12.0
1.0版本
tensorflow-cpu 1.0版本
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-cp27m-linux_x86_64.whl
tensorflow-gpu 1.0版本
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.1-cp27-cp27m-linux_x86_64.whl

windows++++++++++++++++++++++++++++
cpu
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl 
gpu
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl 
阅读全文
0 0