没有这样的包 'slim':找不到构建文件 - Tensorflow
No such package 'slim': BUILD file not found - Tensorflow
目前正在尝试 运行 Google 的研究,在按照提供的说明进行操作时遇到以下错误。 Instruction on Github - 带有 Anaconda/Tensorflow 下载的 Mint Linux 系统。这是"Getting the Datasets"
的第二步
~/test/models/research $ bazel run domain_adaptation/datasets:download_and_convert_mnist_m -- --dataset_dir $DSN_DATA_DIR
ERROR: /home/.../models/research/domain_adaptation/datasets/BUILD:29:1: no such package 'slim': BUILD file not found on package path and referenced by '//research/domain_adaptation/datasets:download_and_convert_mnist_m'
ERROR: Analysis of target '//research/domain_adaptation/datasets:download_and_convert_mnist_m' failed; build aborted: no such package 'slim': BUILD file not found on package path
INFO: Elapsed time: 0.168s
研究模型,包括slim
和domain_adaptation
,来自顶层的have been moved to the //research
package in this commit。
但是,slim
的 https://github.com/tensorflow/models/tree/master/research/domain_adaptation. You will need to prepend research
into the BUILD
targets such as this, this, and this (i.e. from //slim:mnist
to //research/slim:mnist
), therefore referencing the correct BUILD file 的 BUILD
文件中并未反映此更改。
目前正在尝试 运行 Google 的研究,在按照提供的说明进行操作时遇到以下错误。 Instruction on Github - 带有 Anaconda/Tensorflow 下载的 Mint Linux 系统。这是"Getting the Datasets"
的第二步~/test/models/research $ bazel run domain_adaptation/datasets:download_and_convert_mnist_m -- --dataset_dir $DSN_DATA_DIR
ERROR: /home/.../models/research/domain_adaptation/datasets/BUILD:29:1: no such package 'slim': BUILD file not found on package path and referenced by '//research/domain_adaptation/datasets:download_and_convert_mnist_m'
ERROR: Analysis of target '//research/domain_adaptation/datasets:download_and_convert_mnist_m' failed; build aborted: no such package 'slim': BUILD file not found on package path
INFO: Elapsed time: 0.168s
研究模型,包括slim
和domain_adaptation
,来自顶层的have been moved to the //research
package in this commit。
但是,slim
的 https://github.com/tensorflow/models/tree/master/research/domain_adaptation. You will need to prepend research
into the BUILD
targets such as this, this, and this (i.e. from //slim:mnist
to //research/slim:mnist
), therefore referencing the correct BUILD file 的 BUILD
文件中并未反映此更改。