997261095 / bert-kbqa

基于bert的kbqa系统
148 stars 37 forks source link

运行NER_run.py训练了1epoch时,evalute报错 #6

Open mjj1094 opened 2 years ago

mjj1094 commented 2 years ago

您好 File "NER_main.py", line 326, in evaluate_and_save_model all_avg_precision = ret['micro avg']['precision'] KeyError: 'micro avg'

KLGR123 commented 2 years ago

micro 改成 macro 是原作者笔误

mjj1094 commented 2 years ago

嗯嗯,发现了,不过还是谢谢

在2022年03月28日 15:46,KLGR 写道:

micro 改成 macro 是原作者笔误

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>