【问题标题】:Where is the root directory of tensorflow installed when using it via Docker on windows?在 windows 上通过 Docker 使用时,tensorflow 的根目录安装在哪里?
【发布时间】:2016-06-23 14:20:38
【问题描述】:

当我想使用 Inception-V3 图像分类器对我自己的图像进行分类时,我需要在将 TensorFlow 与 docker 一起使用时准确找出它的安装位置。但是,网站上的教程假设我使用 pip 安装它,因此我被困在使用默认图像。谢谢!

【问题讨论】:

  • 我不确定问题是什么。你能运行这两行来找出答案吗? import tensorflow print tensorflow.__file__ 您目前是否能够使用 Inception 分类器对默认图像进行分类?可以修改文件路径重定向到自己的图片吗?
  • 基本上,我问的是如何使用 Inception V3 在通过 docker 安装而不是通过 pip 安装时识别我自己的图像。我还没有找到任何教程。

标签: python tensorflow deep-learning


【解决方案1】:

您可以通过在 windows 命令行或 powershell 中键入 pip show tensorflow 来找到有关 tensorflow 的详细信息。

对我来说,它显示了以下详细信息:

Name: tensorflow

Version: 0.12.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:    c:\program files\anaconda3\lib\site-packages 

Requires: protobuf,    numpy, six, wheel

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-08
    • 2017-11-17
    • 1970-01-01
    • 2019-12-14
    • 2016-09-04
    • 2017-07-20
    • 1970-01-01
    相关资源
    最近更新 更多