【发布时间】:2019-02-07 01:57:57
【问题描述】:
我在Anaconda 命令提示符下尝试了以下命令,
pip show tensorflow
这给了我结果,
Name: tensorflow
Version: 1.10.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: d:\softwares\pycond\envs\tensorflow2\lib\site-packages
Requires: termcolor, absl-py, grpcio, tensorboard, wheel, protobuf, gast, six, numpy, setuptools, astor
我想知道安装的 TensorFlow 是支持 CPU 还是支持 GPU。我怎样才能得到这些信息?
【问题讨论】:
-
pip show tensorflow-gpu,pip list | grep tensorflow-gpu,python -c 'import tensorflow as tf; print(tf.test.gpu_device_name())' -
你有anaconda navigator的访问权限吗?
标签: python tensorflow anaconda prompt