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时没有这样的包_Tensorflow - Fatal编程技术网

`编译TensorFlow时没有这样的包

`编译TensorFlow时没有这样的包,tensorflow,Tensorflow,我目前在编译TensorFlow时遇到问题。如前所述,下载某些软件包时似乎出现了问题,但最后一次提到该漏洞是在9月份。怎么了?我只是克隆了最新的r1.5分支,运行了/configure,并尝试编译。我正在使用CUDA9.1和CUDNN7 bazel build --config=opt --config=cuda --config=mkl //tensorflow/tools/pip_package:build_pip_package ........ ERROR: /home/mv310/pr

我目前在编译TensorFlow时遇到问题。如前所述,下载某些软件包时似乎出现了问题,但最后一次提到该漏洞是在9月份。怎么了?我只是克隆了最新的r1.5分支,运行了
/configure
,并尝试编译。我正在使用CUDA9.1和CUDNN7

bazel build --config=opt --config=cuda --config=mkl //tensorflow/tools/pip_package:build_pip_package
........
ERROR: /home/mv310/projects/tensorflow/tensorflow/tools/pip_package/BUILD:28:1: no such package 'third_party/eigen3': error globbing [**/*]: /home/mv310/projects/tensorflow/third_party/eigen3/mkl_include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include (Too many levels of symbolic links) and referenced by '//tensorflow/tools/pip_package:included_headers_gather'
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: no such package 'third_party/eigen3': error globbing [**/*]: /home/mv310/projects/tensorflow/third_party/eigen3/mkl_include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include/include (Too many levels of symbolic links)
INFO: Elapsed time: 10.798s
FAILED: Build did NOT complete successfully (37 packages loaded)
    currently loading: tensorflow/core ... (11 packages)

您可以尝试删除mkl\u include dir并再次生成吗?

您可以尝试删除mkl\u include dir并再次生成吗?

我在模型项目中工作。我的问题是以前安装的遗留目录。删除目录并进行新的克隆会有所帮助

rm -r -f models/research/syntaxnet/tensorflow
git pull --recurse
cd tensorflow
./configure
在tensorflow目录中,我认为您还可以隐藏更改并进行硬重置

git stash
git reset --hard HEAD
最后,如果所有其他操作都失败,请清理bazel缓存

rm -r -f ~/.cache/bazel/*

我在模型项目工作。我的问题是以前安装的遗留目录。删除目录并进行新的克隆会有所帮助

rm -r -f models/research/syntaxnet/tensorflow
git pull --recurse
cd tensorflow
./configure
在tensorflow目录中,我认为您还可以隐藏更改并进行硬重置

git stash
git reset --hard HEAD
最后,如果所有其他操作都失败,请清理bazel缓存

rm -r -f ~/.cache/bazel/*

你运行了./configure吗?是的--我更新了问题以反映这一点。我看到了相同的问题,没有使用
config=mkl
标志,尝试了1.5-rc1和master。你运行了./configure吗?是的--我更新了问题以反映这一点。我看到了相同的问题,没有使用
config=mkl
标志,试过1.5-rc1和master。这真的应该是一个评论,而不是一个答案。谢谢@jdv的注释。我是SO的新手,如果没有50+的声誉,它不会让我评论主要帖子:)。让我知道这是否有帮助。@yifeif恼火地删除tensorflow目录并重新克隆repo成功了,所以我接受这个答案。这真的应该是一个评论,而不是一个答案。谢谢@jdv的注释。我是SO的新手,如果没有50+的声誉,它不会让我评论主要帖子:)。让我知道这是否有帮助。@yifeif恼火地删除tensorflow目录并重新克隆repo成功了,所以我接受这个答案。