GlassyWing / bi-lstm-crf

使用keras实现的基于Bi-LSTM + CRF的中文分词+词性标注
Apache License 2.0
373 stars 84 forks source link

程序一样却报错 #7

Open JalainWong opened 5 years ago

JalainWong commented 5 years ago

'NoneType' object has no attribute 'decode_texts'

GlassyWing commented 5 years ago

这是配置文件default-config.json 中存在多余的键 max_num_words,将其移除掉。我已将修正的default-config.json放入百度云

18813055625 commented 5 years ago

@GlassyWing {"vocab_size": 6864, "chunk_size": 259, "embed_dim": 300, "bi_lstm_units": 256, "dropout_rate": 0.1} 已经没有 max_num_words,还是会报错。