gpt4 book ai didi

tensorflow - ObjectDetectionAPI 类型错误 : __new__() got an unexpected keyword argument 'serialized_options'

转载 作者:行者123 更新时间:2023-12-01 06:54:32 25 4
gpt4 key购买 nike

我做了它在https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md上所说的一切最后更新了我的协议(protocol)。当我输入 $ protoc --version ,它会在终端上抛出 libprotoc 3.5.1。但是当我尝试做 $ python object_detection/builders/model_builder_test.py ,它会抛出一个错误 TypeError: _ new _() got an unexpected keyword argument 'serialized_options'。我究竟做错了什么?

最佳答案

将 protobuf 更新到 3.6 对我有用。

pip install -U protobuf

关于tensorflow - ObjectDetectionAPI 类型错误 : __new__() got an unexpected keyword argument 'serialized_options' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50338968/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com