ASTER实践记录

source activate tensorflow1.4.0

 

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).

 

 

 

你可能感兴趣的:(ASTER实践记录)