Reputation: 741
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
Upvotes: 3
Views: 20189
Reputation: 57893
You need to install the custom protobuf pip package as detailed here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#protobuf-library-related-issues
EDIT : (updating link) https://www.tensorflow.org/versions/r1.0/install/install_linux#protobuf_pip_package_31
Upvotes: 6