TF save/restore graph fails at tf.GraphDef.ParseFromString()

前端 未结 3 1449
闹比i
闹比i 2020-12-19 05:15

Based on this converting-trained-tensorflow-model-to-protobuf I am trying to save/restore TF graph without success.

Here is saver:



        
3条回答
  •  别那么骄傲
    2020-12-19 05:54

    ParseFromString needs binary serialized protocol buffer, for human-readable representation you need to use text_format.Merge as used here

提交回复
热议问题