3

I am doing the tutorial on https://www.tensorflow.org/versions/master/tutorials/image_recognition/index.html

and working on the Python API section, I launched python classify_image.py

Here I am getting the error message out like so:

A protocol message was rejected because it was too big (more than 67108864 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.

So, I tried to access the file coded_stream.h, but I cannot get to it as the directory tree is getting me to google/protobuf and no further. There is no io directory. Any hints on what I should do now?

thanks Peter

asked Apr 2, 2016 at 8:44
1

1 Answer 1

6
gopi1410
6,65110 gold badges44 silver badges76 bronze badges
answered Apr 2, 2016 at 19:23
Sign up to request clarification or add additional context in comments.

6 Comments

Thanks a lot. This solves my problem. I first tried the tutorial with a docker image which ran perfectly OK, then wanted to do the identical thing on a native install of Tensorflow on my iMac and there it failed.
On my anaconda environment based installation of tensorflow, I do have a problem with the protobuf pip package as proposed above. I get a message Successfully installed protobuf-3.0.0b2.post2 Hence I suppose the install went very well. But now making a simple test of entering into Python and importing tensorflow, I get this error ImportError: dlopen(/Users/peterhirt/anaconda/envs/tf1/lib/python2.7/site-packages/google/protobuf/pyext/_message.so, 2): Library not loaded: /usr/local/lib/libprotobuf.10.dylib Reason: image not found any hint what is not working Thanks a lot Peter
Could you file an issue on github tensorflow and link it here? Having it working in Anaconda seems useful
submitted an issue at link
both links are not working, need help! Getting the same error
|

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.