Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sess, meta_graph_def = session_bundle.load_session_bundle_from_path(input)
signatures_any = sess.graph.get_collection(constants.SIGNATURES_KEY)
signatures = manifest_pb2.Signatures()
signatures_any[0].Unpack(signatures)
inputs = signatures.named_signatures['inputs'].generic_signature
input_name = inputs.map['images'].tensor_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.