Open molyswu opened 7 years ago
Hi, python 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 ChainCR
See https://github.com/fchollet/keras/issues/4090
You shuold use this version of Keras for a implemented CRF layer: https://github.com/fchollet/keras/tree/bba6b521abc462261dd65883be59c94e1467b7cf
Hi, python 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 ChainCR