从TensorFlow0.12升级到TensorFlow1.13

 

sudo pip install --upgrade tensorflow-gpu

$ sudo pip install --upgrade tensorflow-gpu
[sudo] password for camera:
The directory '/home/camera/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/camera/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tensorflow-gpu
  Downloading tensorflow_gpu-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl (158.8MB)
    100% |████████████████████████████████| 158.8MB 10kB/s
Requirement already up-to-date: mock>=2.0.0 in /home/camera/.local/lib/python2.7/site-packages (from tensorflow-gpu)
Requirement already up-to-date: numpy>=1.11.0 in /usr/local/lib/python2.7/dist-packages (from tensorflow-gpu)
Collecting backports.weakref>=1.0rc1 (from tensorflow-gpu)
  Downloading backports.weakref-1.0.post1-py2.py3-none-any.whl
Requirement already up-to-date: wheel in /usr/local/lib/python2.7/dist-packages (from tensorflow-gpu)
Collecting tensorflow-tensorboard<0.2.0,>=0.1.0 (from tensorflow-gpu)
  Downloading tensorflow_tensorboard-0.1.6-py2-none-any.whl (2.2MB)
    100% |████████████████████████████████| 2.2MB 514kB/s
Collecting six>=1.10.0 (from tensorflow-gpu)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting protobuf>=3.3.0 (from tensorflow-gpu)
  Downloading protobuf-3.4.0-cp27-cp27mu-manylinux1_x86_64.whl (6.2MB)
    100% |████████████████████████████████| 6.2MB 255kB/s
Requirement already up-to-date: funcsigs>=1; python_version < "3.3" in /home/camera/.local/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow-gpu)
Collecting pbr>=0.11 (from mock>=2.0.0->tensorflow-gpu)
  Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB)
    100% |████████████████████████████████| 102kB 1.2MB/s
Requirement already up-to-date: bleach==1.5.0 in /usr/local/lib/python2.7/dist-packages (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu)
Collecting markdown>=2.6.8 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu)
Requirement already up-to-date: html5lib==0.9999999 in /usr/local/lib/python2.7/dist-packages (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu)
Collecting werkzeug>=0.11.10 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu)
  Downloading Werkzeug-0.12.2-py2.py3-none-any.whl (312kB)
    100% |████████████████████████████████| 317kB 1.0MB/s
Collecting setuptools (from protobuf>=3.3.0->tensorflow-gpu)
  Downloading setuptools-36.5.0-py2.py3-none-any.whl (478kB)
    100% |████████████████████████████████| 481kB 885kB/s
Installing collected packages: backports.weakref, markdown, six, setuptools, protobuf, werkzeug, tensorflow-tensorboard, tensorflow-gpu, pbr
  Found existing installation: six 1.10.0
    Uninstalling six-1.10.0:
      Successfully uninstalled six-1.10.0
  Found existing installation: setuptools 36.4.0
    Uninstalling setuptools-36.4.0:
      Successfully uninstalled setuptools-36.4.0
  Found existing installation: protobuf 3.1.0.post1
    Uninstalling protobuf-3.1.0.post1:
      Successfully uninstalled protobuf-3.1.0.post1
  Found existing installation: tensorflow-gpu 0.12.1
    Uninstalling tensorflow-gpu-0.12.1:
      Successfully uninstalled tensorflow-gpu-0.12.1
  Found existing installation: pbr 1.10.0
    Uninstalling pbr-1.10.0:
      Successfully uninstalled pbr-1.10.0
Successfully installed backports.weakref-1.0.post1 markdown-2.6.9 pbr-3.1.1 protobuf-3.4.0 setuptools-36.5.0 six-1.11.0 tensorflow-gpu-1.3.0 tensorflow-tensorboard-0.1.6 werkzeug-0.12.2

 

参考http://blog.csdn.net/xyj1536214199/article/details/70766580

posted on 2017-09-18 15:56  Maddock  阅读(646)  评论(0编辑  收藏  举报

导航