0
我有TensorFlow 0.12,我從源碼爲GPU支持幾個月建成。我現在已經解決了一些問題,但在停機時間,我使用pip install tensorflow-gpu
安裝了TensorFlow 1.0.1。我想知道如何卸載並重新安裝TF 1.0。除刪除/home/username/anaconda2/lib/python2.7/site-packages/tensorflow/
之外,還需要做些什麼?這是輸出,當我使用下面的命令:有兩種不同的TensorFlow,如何完全卸載?
$ pip show tensorflow
Name: tensorflow
Version: 0.12.0rc1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /home/username/anaconda2/lib/python2.7/site-packages
Requires: mock, numpy, protobuf, wheel, six
$ pip show tensorflow-gpu
Name: tensorflow-gpu
Version: 1.0.1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /home/username/anaconda2/lib/python2.7/site-packages
Requires: mock, numpy, protobuf, wheel, six
在導航到站點包的tensorflow GPU的文件夾,我發現了一些小文件,主要是文本
$ cd anaconda2/lib/python2.7/site-packages/tensorflow_gpu-1.0.1.dist-info/
$ ls
DESCRIPTION.rst entry_points.txt METADATA metadata.json RECORD top_level.txt WHEEL
它工作與否? –