Blind-Assistance-Object-Detection-and-Navigation icon indicating copy to clipboard operation
Blind-Assistance-Object-Detection-and-Navigation copied to clipboard

error in this block how to solve this please reply fast

Open ritgitashajyothi opened this issue 2 years ago • 0 comments

detection_graph = tf.Graph() with detection_graph.as_default(): od_graph_def = tf.compat.v1.GraphDef() with tf.io.gfile.GFile(PATH_TO_CKPT, 'rb') as fid: serialized_graph = fid.read() od_graph_def.ParseFromString(serialized_graph) tf.import_graph_def(od_graph_def, name='')

DecodeError Traceback (most recent call last) Input In [280], in <cell line: 2>() 4 with tf.io.gfile.GFile(PATH_TO_CKPT, 'rb') as fid: 5 serialized_graph = fid.read() ----> 6 od_graph_def.ParseFromString(serialized_graph) 7 tf.import_graph_def(od_graph_def, name='')

DecodeError: Error parsing message with type 'tensorflow.GraphDef'

ritgitashajyothi avatar Sep 14 '22 10:09 ritgitashajyothi