添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
[protobuf] Re: google.protobuf.message.DecodeError: Error parsing message with type 'tensorflow.GraphDef' Mon, 02 May 2022 11:53:50 -0700
If you are not working with protobufs directly and just through tensorflow, 
you should report this bug to them instead.
On Monday, March 14, 2022 at 12:35:02 AM UTC-7 [email protected] wrote:
> I was training the model and saved it, now I am trying to load but unable 
> to do. I have seen in previous post as well, but some reference links are 
> not working or some things I tried, still not able to solve the problem.
> Traceback (most recent call last):
>   File "stylize.py", line 98, in <module>
>     main()
>   File "stylize.py", line 58, in main
>     graph_def.ParseFromString(f.read())
> "C:\Users\shubham\env\lib\site-packages\google\protobuf\message.py", line 
> 199, in ParseFromString
>     return self.MergeFromString(serialized)
> "C:\Users\shubham\env\lib\site-packages\google\protobuf\internal\python_message.py",
> line 1145, in MergeFromString
>     if self._InternalParse(serialized, 0, length) != length:
> "C:\Users\shubham\env\lib\site-packages\google\protobuf\internal\python_message.py",
> line 1198, in InternalParse
>     (data, new_pos) = decoder._DecodeUnknownField(
> "C:\Users\shubham\env\lib\site-packages\google\protobuf\internal\decoder.py", 
> line 993, in _DecodeUnknownField
>     raise _DecodeError('Wrong wire type in tag.')
> *google.protobuf.message.DecodeError: Wrong wire type in tag.*
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/b7c467a5-93e4-4549-a767-35b8e23cbff9n%40googlegroups.com.