tf_jetson_nano
tf_jetson_nano copied to clipboard
Reading Frozen Graph Error
Hi, when I run step 2, I get an error at the line: graph_def.ParseFromString(f.read())
This is the traceback:
DecodeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/google/protobuf/message.py in ParseFromString(self, serialized) 185 """ 186 self.Clear() --> 187 return self.MergeFromString(serialized) 188 189 def SerializeToString(self, **kwargs):
/usr/local/lib/python3.6/dist-packages/google/protobuf/internal/python_message.py in MergeFromString(self, serialized) 1126 length = len(serialized) 1127 try: -> 1128 if self._InternalParse(serialized, 0, length) != length: 1129 # The only reason _InternalParse would return early is if it 1130 # encountered an end-group tag.
/usr/local/lib/python3.6/dist-packages/google/protobuf/internal/python_message.py in InternalParse(self, buffer, pos, end) 1191 pos = new_pos 1192 else: -> 1193 pos = field_decoder(buffer, new_pos, end, self, field_dict) 1194 if field_desc: 1195 self._UpdateOneofState(field_desc)
/usr/local/lib/python3.6/dist-packages/google/protobuf/internal/decoder.py in DecodeRepeatedField(buffer, pos, end, message, field_dict) 698 new_pos = pos + size 699 if new_pos > end: --> 700 raise _DecodeError('Truncated message.') 701 # Read sub-message. 702 if value.add()._InternalParse(buffer, pos, new_pos) != new_pos:
DecodeError: Truncated message.
Thank you for your help!