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
-
developers.google.com/protocol-buffers/docs/reference/cpp/…Torxed– Torxed2016年04月02日 09:51:32 +00:00Commented Apr 2, 2016 at 9:51
1 Answer 1
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