Skip to content

export_model.py出来的英文模型识别模型不能运行? #5

@shiyutang

Description

@shiyutang

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:
  • 版本号/Version:Paddle: PaddleOCR: 问题相关组件/Related components:
  • 运行指令/Command Code:
  • 完整报错/Complete Error Message:

我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no): yes

请尽量不要包含图片在问题中/Please try to not include the image in the issue.

在官方下载的en_PP-OCRv3_rec_infer模型在C++里面可以运行,在官方下载en_PP-OCRv3_rec_train或者用这个模型微调出来的模型,再用export_model.py无法使用,对比发现inference.pdiparams这个文件是一样,但是inference.pdmodel这个文件大小不一样。官网下载的这个文件要小于我自己export出来的文件,这个是什么原因?提示错误:没有为 paddle_inference.dll 加载的符号文件,是不是版本不兼容呢?
Linux下面训练和导出模型使用的paddle版本:2.5.1,paddleocr版本:2.7
windows用的c++库版本: avx_mkl_cuda11.6_cudnn8.4_avx_mkl-trt8.4.1.5 | paddle_inference.zip(2.3.2) | MSVC 2019 | 8.4 | 11.6
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions