Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ObjectDetecionAPI TypeError: __new__() got an unexpected keyword argument 'serialized_options'

I did everything it says at https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md and lastly updated my protoc. When i enter $ protoc --version, it throws libprotoc 3.5.1 on the terminal. But when i try to do $ python object_detection/builders/model_builder_test.py, it throws an error TypeError: _ new _() got an unexpected keyword argument 'serialized_options'. What am i doing wrong?

like image 253
doruk.sonmez Avatar asked Nov 28 '22 02:11

doruk.sonmez


1 Answers

Updating protobuf to 3.6 works for me.

pip install -U protobuf
like image 179
shellhue Avatar answered Mar 12 '23 19:03

shellhue