I have been following github repository for "Tensorflow on Android".
tensorflow/examples/android/assets
tensorflow_inception_graph.pb
and imagenet_comp_graph_label_strings.txt
are included, from inception5 file which is downloaded while the APK is built.What's the issue?
tensorflow/examples/image_retraining/retrain.py
), which I was able to place in the assets folder in android directory and generate a working APK.Please help me understand
tensorflow_inception_graph.pb
on TensorboardLast May they have introduced a helper script called import_pb_to_tensorboard
to do just that.
usage: import_pb_to_tensorboard.py [-h] [--model_dir MODEL_DIR]
[--log_dir LOG_DIR]
optional arguments:
-h, --help show this help message and exit
--model_dir MODEL_DIR
The location of the protobuf ('pb') model to
visualize.
--log_dir LOG_DIR The location for the Tensorboard log to begin
visualization from.
Note that currently, the version in master
seems to have received more love than the one present in the latest 1.2.1
distribution of tensorflow, so I would suggest to use this one.