我有TensorFlow 0.12,我从源代码构建GPU支持几个月。我现在解决了一些问题,但在停机时我使用SELECT tbl_clinics.clinic_name,
COALESCE(COUNT(tbl_check_up.check_up_id), 0) AS total_check
FROM tbl_clinics
LEFT OUTER JOIN tbl_check_up
ON tbl_clinics.clinic_id = tbl_check_up.clinic_id
WHERE tbl_clinics.user_id = "102"
AND (tbl_check_up.check_up_date IS NULL
OR MONTH(tbl_check_up.check_up_date) = "02")
GROUP BY tbl_clinics.clinic_name
安装了TensorFlow 1.0.1。我想知道如何卸载两者并通过安装TF 1.0重新开始。除了删除pip install tensorflow-gpu
之外还需要做什么?这是我使用以下命令时的输出:
/home/username/anaconda2/lib/python2.7/site-packages/tensorflow/
在导航到site-packages中的tensorflow-gpu文件夹时,我发现了一些文件,主要是文本
$ 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: opensource@google.com
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: opensource@google.com
License: Apache 2.0
Location: /home/username/anaconda2/lib/python2.7/site-packages
Requires: mock, numpy, protobuf, wheel, six
答案 0 :(得分:1)
pip uninstall tensorflow-gpu
和pip uninstall tensorflow
应该这样做。否则,您也可以从头开始完全删除并重新安装anaconda。