Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode CpResource imagenet_comp_graph_label_strings.txt No such file or directory #5425

Closed
codingyourlife opened this issue Nov 6, 2016 · 1 comment

Comments

@codingyourlife
Copy link
Contributor

codingyourlife commented Nov 6, 2016

When I compile the iOS simple project I get the following error:

CpResource 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/imagenet_comp_graph_label_strings.txt
cd /Users/CYL/tensorflowGIT/tensorflow/contrib/ios_examples/simple
export PATH="/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"
builtin-copy -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

error: /Users/CYL/tensorflowGIT/tensorflow/contrib/ios_examples/simple/data/imagenet_comp_graph_label_strings.txt: No such file or directory

screen shot 2016-11-06 at 12 13 27

I did everything up to the compile in XCode part as described here. I downgraded from XCode 8 to XCode 7.3.1 with no change. I have MacOS El Capitan.

@codingyourlife
Copy link
Contributor Author

codingyourlife commented Nov 6, 2016

Okay just found it out myself...

In the part in the tutorial

mkdir -p ~/graphs
curl -o ~/graphs/inception5h.zip
https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip
&& unzip ~/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/

The cp parts are meant to be executed seperately. So the first 4 lines are one command and the next 3 lines are seperate commands. I'm new to mac and don't have that much experience with Linux and I didn't got that at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant