当我运行启动预处理脚本时,它会失败

时间:2016-11-23 00:02:08

标签: machine-learning computer-vision tensorflow bazel imagenet

当我运行bazel-bin/inception/download_and_preprocess_imagenet "${DATA_DIR}"错误消息时:

bazel-bin/inception/inception/download_and_preprocess_imagenet: line 66: bazel-bin/inception/inception/download_and_preprocess_imagenet.runfiles_make_/inception/inception/data
/download_imagenet.sh: No such file or directory

有人可以告诉我我做错了什么吗?我按照here

上的说明进行操作

1 个答案:

答案 0 :(得分:0)

Tensorflow的模型库有一个非常混乱的结构,你在错误的目录中。树看起来像这样:

require(xlsx)
write.xlsx(contract_union,"/gold-data.xlsx")

如果您运行models/ BUILD WORKSPACE inception/ BUILD WORKSPACE inception/ data/ ... ,我会说pwd。但是,models假定您已进入download_and_preprocess_imagenet。所以,做:

models/inception

然后 cd inception bazel build //inception:download_and_preprocess_imagenet 应该正常工作。