Skip to content

Instantly share code, notes, and snippets.

@alreadytaikeune
Created August 13, 2018 12:43
Show Gist options
  • Save alreadytaikeune/6ff7825c250b3ccbe72dc7170b477f3f to your computer and use it in GitHub Desktop.
Save alreadytaikeune/6ff7825c250b3ccbe72dc7170b477f3f to your computer and use it in GitHub Desktop.
bazel build tensorflow/python/tools:freeze_graph
bazel-bin/tensorflow/python/tools/freeze_graph \
--input_graph=/tmp/model/my_graph.pb \
--input_checkpoint=/tmp/model/model.ckpt-1000 \
--output_graph=/tmp/frozen_graph.pb \
--output_node_names=output_node \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment