jinlanfu / NERmultimodal

Implementation of Adaptive Co-attention Network for Named Entity Recognition in Tweets in AAAI2018.
68 stars 9 forks source link

Connot import name ChainCRF #6

Open softhuafei opened 5 years ago

softhuafei commented 5 years ago

您好,请问 您使用的keras1.2是官方的版本吗,我在theano+keras1.2的环境配置下无法从keras.layers import ChainCRF。望回复,谢谢!

Saichethan commented 5 years ago

@softhuafei probably that's bcoz of your Keras version try pip install keras==1.1.2 if that doesn't work check Keras Contrib.

dwchen123 commented 5 years ago

你好,请问你有改动 vgg_image_feature.py里的代码吗?我的这个运行报错,我看了一下是get_features(model, 30, im)这个函数里的错,但不知道怎么改