This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tensorflow/contrib/makefile/build_all_ios.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tensorflow/contrib/makefile/download_dependencies.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tensorflow/contrib/makefile/compile_ios_protobuf.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make -f tensorflow/contrib/makefile/Makefile \ | |
| TARGET=IOS \ | |
| IOS_ARCH=ARM64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile_ios_tensorflow.sh "-Os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/examples/ios/benchmark/data/ | |
| cp ~/graphs/inception5h/* \ | |
| tensorflow/examples/ios/camera/data/ | |
| cp ~/graphs/inception5h/* \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tensorflow/contrib/makefile/download_dependencies.sh | |
| sudo apt-get install -y \ | |
| autoconf automake libtool gcc-4.8 g++-4.8 | |
| cd tensorflow/contrib/makefile/downloads/protobuf/ | |
| ./autogen.sh | |
| ./configure | |
| make | |
| sudo make install | |
| sudo ldconfig # refresh shared library cache | |
| cd ../../../../.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make -f tensorflow/contrib/makefile/Makefile HOST_OS=PI \ | |
| TARGET=PI OPTFLAGS="-Os" CXX=g++-4.8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make -f tensorflow/contrib/makefile/Makefile HOST_OS=PI \ | |
| TARGET=PI OPTFLAGS="-Os -mfpu=neon-vfpv4 \ | |
| -funsafe-math-optimizations -ftree-vectorize" CXX=g++-4.8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl https://storage.googleapis.com/download.tensorflow.org/models/inception_dec_2015_stripped.zip \ | |
| -o /tmp/inception_dec_2015_stripped.zip | |
| unzip /tmp/inception_dec_2015_stripped.zip \ | |
| -d tensorflow/contrib/pi_examples/label_image/data/ |