models icon indicating copy to clipboard operation
models copied to clipboard

when I run object_detection/object_detection_tutorial.ipynb ,I meet an error in protobuf module

Open zwj-excalibur opened this issue 9 years ago • 6 comments

I have run trainer_test.py pasted.but when I run object_detection_tutorial.ipynb I meet an error below: label_map = label_map_util.load_labelmap(PATH_TO_LABELS) File "D:\keras相关材料\project\object_detection\utils\label_map_util.py", line 107, in load_labelmap text_format.Merge(label_map_string, label_map) File "C:\ProgramData\Anaconda3\envs\python3.5\lib\site-packages\google\protobuf\text_format.py", line 472, in Merge text.split('\n'), TypeError: a bytes-like object is required, not 'str'

what happy?

zwj-excalibur avatar Jul 09 '17 09:07 zwj-excalibur

I have find the solution,just update the package of tensorflow and is's dependences

zwj-excalibur avatar Jul 09 '17 23:07 zwj-excalibur

I have find the solution,just update the package of tensorflow and is's dependences

zwj-excalibur avatar Jul 09 '17 23:07 zwj-excalibur

What do you mean by the dependencies ? Updating tensorflow to a newer version will work or not ?

shamanez avatar Jul 22 '17 13:07 shamanez

Didn't work for me. I'm on Tensorflow 1.8

AlvanChow avatar May 08 '18 05:05 AlvanChow

try tensorflow 1.5 pip install tensorflow == 1.5

nishantasarma avatar May 19 '18 08:05 nishantasarma

i met the same problem?how to fix?

Roc-J avatar Jul 25 '18 03:07 Roc-J