测试集上复现的分数(TEDS)极低 #143
Answered
by
Joker1212
vivavilavida
asked this question in
Q&A
-
大佬们好👋我在复现TEDS评分的时候得到的分数和仓库首页上面的分数相差极大,如下图所示: 纯CPU运行,平台为google colab, Python 3.11.12
|
Beta Was this translation helpful? Give feedback.
Answered by
Joker1212
May 14, 2025
Replies: 2 comments 2 replies
-
数据集中有些图片是有扭曲和透视的,没有前置处理的话,指标会很差 |
Beta Was this translation helpful? Give feedback.
0 replies
-
emmm,这个测试结果是基于上一次改变测得的,本次改动应该不会影响,具体原因我需要排查一下,肯定是不正常的哈 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我最新的结果是这样,但是我是本地有数据集,直接传的img_path,我也用你的方法测试了一下,发现确实有差别,但是也在可控范围内
from pathlib import Path
from wired_table_rec.utils.utils import VisTable
from table_cls import TableCls
from wired_table_rec.main import WiredTableInput, WiredTableRecognition
from lineless_table_rec.main import LinelessTableInput, LinelessTableRecognition
from rapidocr import RapidOCR
table OCR init
ocr_engine = RapidOCR()
wired_input = WiredTableInput()
lineless_input = LinelessTableInput()
wired_engine = WiredTableRecognition(wired_input)
lineless_engine = LinelessTableRecognition(lineless_input)
viser = VisTable()
table_cls = TableCls()
def table_OCR(img_path):
cls, elasp = table_cls(img_path)
if cls == "wired":
table…