Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tensorflow.examples.learn模块源代码中的Tensorflow安装_Tensorflow_Bazel - Fatal编程技术网

Tensorflow.examples.learn模块源代码中的Tensorflow安装

Tensorflow.examples.learn模块源代码中的Tensorflow安装,tensorflow,bazel,Tensorflow,Bazel,上述模块不包含在站点包中。我正在使用Python3.5,并遵循了网站上给出的从源代码开始构建的所有步骤 我确实在网上搜索过,但没有找到明显的解决办法 以下是./configure期间使用的配置: 之后,我继续执行以下网站中给出的步骤: 我使用的是Ubuntu 16.04 LTS 64位 没有错误消息,只是模块没有生成以供使用!这: 我想通过运行它来理解文本分类代码,所以我必须从源代码安装tensorflow,但在站点包/tensorflow中,这些模块不存在 我想了解为什么会发生这样的事情,即使

上述模块不包含在站点包中。我正在使用Python3.5,并遵循了网站上给出的从源代码开始构建的所有步骤

我确实在网上搜索过,但没有找到明显的解决办法

以下是./configure期间使用的配置:

之后,我继续执行以下网站中给出的步骤:

我使用的是Ubuntu 16.04 LTS 64位

没有错误消息,只是模块没有生成以供使用!这:

我想通过运行它来理解文本分类代码,所以我必须从源代码安装tensorflow,但在站点包/tensorflow中,这些模块不存在


我想了解为什么会发生这样的事情,即使我正确地执行了这些步骤。

您似乎只完成了配置步骤,但实际上还没有构建任何内容。尝试运行bazel build//tensorflow/examples/learn:boston

你能解释一下你碰到的问题是什么吗?例如错误消息?
./configure
..................
You have bazel 0.5.2 installed.
Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3
Found possible Python library paths:
  /usr/lib/python3/dist-packages
  /usr/local/lib/python3.5/dist-packages
Please input the desired Python library path to use.  Default is [/usr/lib/python3/dist-packages]

Using python library path: /usr/lib/python3/dist-packages
Do you wish to build TensorFlow with MKL support? [y/N] y
MKL support will be enabled for TensorFlow
Do you wish to download MKL LIB from the web? [Y/n] Y
mklml_lnx_2018.0.20170425.tgz
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: 
Do you wish to use jemalloc as the malloc implementation? [Y/n] y
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] y
Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N] y
Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N] y
XLA JIT support will be enabled for TensorFlow
Do you wish to build TensorFlow with VERBS support? [y/N] y
VERBS support will be enabled for TensorFlow
Do you wish to build TensorFlow with OpenCL support? [y/N] n
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N] n
No CUDA support will be enabled for TensorFlow
Do you wish to build TensorFlow with MPI support? [y/N] n
MPI support will not be enabled for TensorFlow
Configuration finished