Based on this converting-trained-tensorflow-model-to-protobuf I am trying to save/restore TF graph without success.
Here is saver:
ParseFromString needs binary serialized protocol buffer, for human-readable representation you need to use text_format.Merge as used here
ParseFromString
text_format.Merge