PyText训练时报错: TypeError: __init__() got an unexpected keyword argument 'serialized_options'

TypeError: __init__() got an unexpected keyword argument 'serialized_options'

解决:

重装protobuf即可:

sudo pip uninstall protobuf
sudo pip install -U protobuf

你可能感兴趣的:(人工智能)