ethereon / caffe-tensorflow

Caffe models in TensorFlow
Other
2.8k stars 1.04k forks source link

Example code fails with google.protobuf.message.DecodeError: Truncated message #129

Open YuvalBahat opened 7 years ago

YuvalBahat commented 7 years ago

I tried to run the example code (the mnist one). I do not have caffe installed, so it was supposed to use the python protobuf option instead, but failed with the error above.

I'm using python 3.4.4.

wmpang commented 7 years ago

I met the same problem!

wangchuan commented 7 years ago

Same here.

zhuyinheng commented 7 years ago

Same here.

zhuyinheng commented 7 years ago

check that if you are using python3 this module only support python2,which is NOT noted in the README

YuvalBahat commented 7 years ago

Well, this can be the reason then, since I'm running version 3.4.4 Thanks.

On Thu, Aug 10, 2017 at 10:30 PM 朱鹮 notifications@github.com wrote:

check that if you are using python3 this module only support python2,which is NOT noted in the README

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ethereon/caffe-tensorflow/issues/129#issuecomment-321725326, or mute the thread https://github.com/notifications/unsubscribe-auth/AatZJCrhzzX87zO8f_Z34o2RXK5PuJlAks5sW8rtgaJpZM4OQFaQ .

jleni commented 7 years ago

It is likely that this is the issue affecting you https://github.com/google/protobuf/issues/3734