xinyuan-liu / Chinese-NER

CNN-LSTM-CRF Sequence Tagging. 炼丹系列。
21 stars 15 forks source link

ImportError: cannot import name 'ChainCRF' #4

Open SeekPoint opened 6 years ago

SeekPoint commented 6 years ago

mldl@mldlUB1604:~/ub16_prj/Chinese-NER/NN$ python3 train.py Using TensorFlow backend. Traceback (most recent call last): File "train.py", line 9, in from keras.layers import GRU, Dense, Embedding, ChainCRF, LSTM, Bidirectional, Dropout ImportError: cannot import name 'ChainCRF' mldl@mldlUB1604:~/ub16_prj/Chinese-NER/NN$