当我 运行 inception 预处理脚本时,它失败了
When I run inception preprocessing script, it fails
当我运行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
中的说明进行操作
Tensorflow 的模型存储库结构非常混乱,您在错误的目录中。树看起来像这样:
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
那么 bazel-bin/inception/download_and_preprocess_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
中的说明进行操作Tensorflow 的模型存储库结构非常混乱,您在错误的目录中。树看起来像这样:
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
那么 bazel-bin/inception/download_and_preprocess_imagenet
应该可以正常工作。