Rah*_*ena 7 python prompt anaconda tensorflow
我在Anaconda 命令提示符下尝试了以下命令,
pip show tensorflow
Run Code Online (Sandbox Code Playgroud)
这给了我结果,
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
Run Code Online (Sandbox Code Playgroud)
我想知道安装的 TensorFlow 是支持 CPU 还是支持 GPU。我怎样才能得到这些信息?
小智 1
TensorFlow pip 包包括对启用 CUDA\xc2\xae 的卡的 GPU 支持
\npip show tensorflow\n
Run Code Online (Sandbox Code Playgroud)\n对于旧版本的 TensorFlow:
\n对于 1.15 及更早版本,CPU 和 GPU 包是分开的:
\npip install tensorflow==1.15 # CPU\npip install tensorflow-gpu==1.15 # GPU\n
Run Code Online (Sandbox Code Playgroud)\n因此,1.15 及更早版本中的包名称有所不同。
\n 归档时间: |
|
查看次数: |
14070 次 |
最近记录: |