bazelbin/im2text/run_推断没有这样的fi

2024-04-19 20:14:35 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试im2text(https://github.com/tensorflow/models/tree/master/research/im2txt) 我克隆了回购协议并下载了一个模型。然后编写了一个简单的shell脚本来尝试im2text,如下所示。在

$ git clone https://github.com/tensorflow/models.git
$ cd model/research/im2txt

在运行.sh在

^{pr2}$

结果

$ ./run.sh
INFO: Analysed 0 targets (0 packages loaded).
INFO: Found 0 targets...
INFO: Elapsed time: 0.360s, Critical Path: 0.02s
INFO: Build completed successfully, 1 total action
./run.sh: line 8: bazel-bin/im2txt/run_inference: No such file or directory

环境

$ bazel version
Build label: 0.9.0-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Sun Jul 12 03:29:57 +49936 (1513677382197)
Build timestamp: 1513677382197
Build timestamp as int: 1513677382197

$ java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

tensorflow (1.1.0)

有人有办法解决这个问题吗?在

谢谢你的帮助!在


Tags: runhttpsbuildinfogithubcomversionmodels