What is the difference between tensorflow saved_model.pb and frozen_inference_graph.pb?
saved_model.pb may represent multiple graph definitions as MetaGraphDef protocol buffers. Weights and other variables usually aren't stored inside the file during training. Instead, they're held in separate checkpoint files



.



frozen_inference_graph.pb has its variables converted into inline constants so everything’s in one file and ready for serving on any platform including mobile. Freezing process includes loading the GraphDef, pull in the values for all the variables from the latest checkpoint file, and then replace each Variable op with a Const that has the numerical data for the weights stored in its attributes It then strips away all the extraneous nodes that aren't used for forward inference. Reference: Tensorflow Model Files