PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

infer_vqa_token_ser_re.py 输出的内容是空,没有在图片显示键值的结果,infer_results.txt里面ser_result数组结果也是空

Open shiwenliang opened this issue 7 months ago • 0 comments

问题描述 / 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

没有显示结果

可能解决方案 / Possible solutions

附件 / Appendix

shiwenliang avatar Jul 14 '24 13:07 shiwenliang