shiyybua / NER

基于tensorflow深度学习的中文的命名实体识别
1.04k stars 400 forks source link

预测速度缓慢的小伙伴们看过来! #50

Open qq547276542 opened 6 years ago

qq547276542 commented 6 years ago

rnn.py 的138~139行改为: tags = sess.run(tag_table.lookup(tf.constant(viterbi_sequence, dtype=tf.int64)))

作者循环执行run,导致预测及其缓慢。。 不过还是感谢作者

njuhxc commented 5 years ago

感谢~