-
我搞了两天了,没定位到问题,是paddleocr的代码问题还是官方给的模型问题?: 我使用如下命令做的推理,用的也是官方给的推理模型,使用的是XFUND数据集,图片也是官方给的: 但是./output/infer.txt中没有linking信息,找不到QUESTION和ANSWER的关系, 求大佬指点? 运行预训练的模型,并带上标注好的验证集的数据(含linking信息),运行后是会有linking信息的,但是我都手动标注了,还要模型去推理干什么呢, 类似问题:#12241 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
老哥你多看几眼代码就知道了 PaddleOCR/tools/infer_kie_token_ser_re.py Line 219 in 5b54ac4 PaddleOCR/ppocr/utils/visual.py Lines 88 to 132 in 5b54ac4 |
Beta Was this translation helpful? Give feedback.
-
感谢大佬答疑,我也debug了一下代码,确实发现result中是以元组顺序来存的QA: 被之前的文档引导偏了,另外,官方的这个RE示例不应该直接输出用户最关心的关键信息吗,比如: |
Beta Was this translation helpful? Give feedback.
感谢大佬答疑,我也debug了一下代码,确实发现result中是以元组顺序来存的QA:
所以之前用标注linking跑出来的results中的linking应该只是用于训练的吧?@GreatV
被之前的文档引导偏了,另外,官方的这个RE示例不应该直接输出用户最关心的关键信息吗,比如:
{
"姓名":"张三",
xxx
}