目前正在尝试运行Google的研究,我按照提供的说明进入下面的错误。 Instruction on Github - 使用Anaconda / Tensorflow下载的Mint Linux系统。这是“获取数据集”的第二步
~/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
答案 0 :(得分:2)
研究模型,包括slim
和domain_adaptation
,have been moved到this commit的//research
套餐。
但是,此更改未反映在https://github.com/tensorflow/models/tree/master/research/domain_adaptation的BUILD
个文件中。您需要将research
添加到BUILD
目标中,例如this,this和this(即从//slim:mnist
到{{1}因此,引用//research/slim:mnist
的{{3}}。