mortenjust / trainer-mac

Trains a model, then generates a complete Xcode project that uses it - no code necessary
124 stars 9 forks source link

warning: directory not found for option #13

Open dylib opened 7 years ago

dylib commented 7 years ago

After training and building the project I get an error when I try to run the created app:

ld: warning: directory not found for option '-L/Users/Username/tf_files/projects/tensorswift-ios/tensorswift/../tensorflow/tensorflow/contrib/makefile/gen/lib'
ld: file not found: /Users/Username/tf_files/projects/tensorswift-ios/tensorswift/../tensorflow/tensorflow/contrib/makefile/gen/lib/libtensorflow-core.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)

During the end of the Trainer build process for creating the app I get this error:

1 error generated.
make: *** [/Users/Username/tf_files/projects/tensorswift-ios/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/lib/random/distribution_sampler.o] Error 1
+ '[' 2 -ne 0 ']'
+ echo 'armv7 compilation failed.'
armv7 compilation failed.
+ exit 1
cp: /Users/Username/tf_files/model/retrained_graph_stripped.pb: No such file or directory
cp: /Users/Username/tf_files/model/retrained_labels.txt: No such file or directory

- Done. Xcode project took 1067.12s

* "Username" has been substituted for my real username.