yinchangchang / ocr_densenet

第一届西安交通大学人工智能实践大赛(2018AI实践大赛--图片文字识别)第一名;仅采用densenet识别图中文字

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

你好,可以把你的计算方式说一下嘛,那个网址好像是失效了,谢谢了。

1fishman opened this issue · comments

举个例子,label一共有5个字符,prediction一共有8个字符,预测对4个

recall= 4/5 = 0.8
precision = 4/8 = 0.5
f1score = 0.8 * 0.5 / (0.8 + 0.5)

每个输出算一个f1score, 所有test取平均