PaddleOCR
PaddleOCR copied to clipboard
infer_vqa_token_ser_re.py 输出的内容是空,没有在图片显示键值的结果,infer_results.txt里面ser_result数组结果也是空
问题描述 / Problem Description
执行: python tools/infer_vqa_token_ser_re.py -c configs/vqa/re/layoutxlm_sfz.yml -o Architecture.Backbone.checkpoints=output/re_layoutxlm_sfz/best_accuracy Global.infer_img=D:/projpython/paddlestudy/ocrtable/sfzlink/ocr/val_data/image/ -c_ser configs/vqa/ser/layoutxlm_sfz.yml -o_ser Architecture.Backbone.checkpoints=output/ser_layoutxlm_sfz/best_accuracy
输出:infer_results.txt D:/projpython/paddlestudy/ocrtable/sfzlink/ocr/val_data/image/0040.jpg {"ser_result": []} 数组是空的,关联没有显示出来
运行环境 / Runtime Environment
- OS: windows
- Paddle:2.3.2
- PaddleOCR:2.4
复现代码 / Reproduction Code
完整报错 / Complete Error Message
没有显示结果