Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 \
- --input_node_names=input_node \
- --output_node_names=output_node
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement