Created
July 24, 2017 19:48
-
-
Save petewarden/d119931261c809ea4d7063c24a8e487f to your computer and use it in GitHub Desktop.
This file contains 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
bazel build -c opt --config=android_arm64 \ | |
tensorflow/tools/benchmark:benchmark_model | |
adb push bazel-bin/tensorflow/tools/benchmark/benchmark_model \ | |
/data/local/tmp | |
adb push /tmp/tensorflow_inception_graph.pb /data/local/tmp/ | |
adb shell '/data/local/tmp/benchmark_model \ | |
--graph=/data/local/tmp/tensorflow_inception_graph.pb \ | |
--input_layer="Mul" --input_layer_shape="1,299,299,3" \ | |
--input_layer_type="float" --output_layer="softmax:0" \ | |
--show_run_order=false --show_time=false | |
--show_memory=false --show_summary=true' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment