Reputation: 322
There's a fairly clear difference between a model and a frozen model. As described in model_files, relevant part: Freezing ...so there's the freeze_graph.py script that takes a graph definition and a set of checkpoints and freezes them together into a single file.
I'm asking more for the design overview here, not implementation specifics.
Upvotes: 7
Views: 3587
Reputation: 4533
Checkpoint file only contains variables for specific model and should be loaded with either exactly same, predefined graph or with specific assignment_map
to load only chosen variables. See https://www.tensorflow.org/api_docs/python/tf/train/init_from_checkpoint
Saved model is more broad cause it contains graph that can be loaded within a session and training could be continued. Frozen graph, however, is serialized and could not be used to continue training.
You can find all the info here https://www.tensorflow.org/guide/saved_model
Upvotes: 3