fail to convert pb to uff

when I use convert-to-uff command to convert my frozen tensorflow graph, it showed that, any suggestions?

Loading ./lanenet_model.pb
Traceback (most recent call last):
  File "/usr/local/bin/convert-to-uff", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/uff/bin/convert_to_uff.py", line 89, in main
    debug_mode=args.debug
  File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 186, in from_tensorflow_frozen_model
    graphdef.ParseFromString(frozen_pb.read())
  File "/home/nvidia/.local/lib/python2.7/site-packages/google/protobuf/message.py", line 185, in ParseFromString
    self.MergeFromString(serialized)
  File "/home/nvidia/.local/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 1083, in MergeFromString
    if self._InternalParse(serialized, 0, length) != length:
  File "/home/nvidia/.local/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 1109, in InternalParse
    new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
  File "/home/nvidia/.local/lib/python2.7/site-packages/google/protobuf/internal/decoder.py", line 850, in SkipField
    return WIRETYPE_TO_SKIPPER[wire_type](buffer, pos, end)
  File "/home/nvidia/.local/lib/python2.7/site-packages/google/protobuf/internal/decoder.py", line 820, in _RaiseInvalidWireType
    raise _DecodeError('Tag had invalid wire type.')
google.protobuf.message.DecodeError: Tag had invalid wire type.

by the way, the complete command I use is “convert-to-uff ./lanenet_model.pb -l”

Hi,

Based on the error, convert-to-uff failed to parse the .pb file.

google.protobuf.message.DecodeError: Tag had invalid wire type.

A common issue is cased by the incompatible protobuf library.

Could you share the protobuf library version which is used for serializing the .pb file?
Also, please share the version used by the TensorRT.

Thanks.