ASTER实践记录

You need to compile the protos before using the Python scripts.
so check "protoc aster/protos/*.proto --python_out=.",if you get:
...
"RnnCell" is not defined. aster/protos/bidirectional_rnn.proto:10:12: "Regularizer" is not defined. aster/protos/bidirectional_rnn.proto:12:12: "Hyperparams" is not defined....
it means you compile the protos UNsuccessful.
Execute "protoc --version" to check the version of protoc, ASTER requires Protocol Buffers (version>=2.6).

猜你喜欢

转载自blog.csdn.net/Maisie_Nan/article/details/88033202