Tensorflow: XCode CpResource imagenet_comp_graph_label_strings.txt 没有那个文件或目录

创建于 2016-11-06  ·  1评论  ·  资料来源: tensorflow/tensorflow

当我编译 iOS 简单项目时,出现以下错误:

CpResource 数据/imagenet_comp_graph_label_strings.txt /Users/CYL/Library/Developer/Xcode/DerivedData/tf_ios_makefile_example-agwbsoccjjkvrwgzihhrjmljlwss/Build/Products/Debug-iphonesimulator/tf_ios_makefile_example.app/image_txt_makefile_example.app/image_label
cd /Users/CYL/tensorflowGIT/tensorflow/contrib/ios_examples/simple
导出路径="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/ usr/bin:/bin:/usr/sbin:/sbin"
内置复制 -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/CYL/tensorflowGIT/tensorflow/contrib/ios_examples/simple/data/imagenet_comp_graph_label_strings.txt /Users /CYL/Library/Developer/Xcode/DerivedData/tf_ios_makefile_example-agwbsoccjjkvrwgzihhrjmljlwss/Build/Products/Debug-iphonesimulator/tf_ios_makefile_example.app

错误:/Users/CYL/tensorflowGIT/tensorflow/contrib/ios_examples/simple/data/imagenet_comp_graph_label_strings.txt:没有那个文件或目录

screen shot 2016-11-06 at 12 13 27

我按照此处所述在 XCode 部分进行了编译。 我从 XCode 8 降级到 XCode 7.3.1 没有任何变化。 我有 MacOS El Capitan。

最有用的评论

好吧,我自己才发现的...

在教程的部分

mkdir -p ~/graphs
curl -o ~/graphs/inception5h.zip
https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip
&& 解压缩 ~/graphs/inception5h.zip -d ~/graphs/inception5h
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/benchmark/data/
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/camera/data/
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/simple/data/

cp 部分旨在单独执行。 所以前 4 行是一个命令,接下来的 3 行是单独的命令。 我是 mac 新手,对 Linux 没有太多经验,一开始我也没有。

>所有评论

好吧,我自己才发现的...

在教程的部分

mkdir -p ~/graphs
curl -o ~/graphs/inception5h.zip
https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip
&& 解压缩 ~/graphs/inception5h.zip -d ~/graphs/inception5h
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/benchmark/data/
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/camera/data/
cp ~/graphs/inception5h/* tensorflow/contrib/ios_examples/simple/data/

cp 部分旨在单独执行。 所以前 4 行是一个命令,接下来的 3 行是单独的命令。 我是 mac 新手,对 Linux 没有太多经验,一开始我也没有。

此页面是否有帮助?
0 / 5 - 0 等级