Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ch_ptocr_v4__rec_server_infer.pth模型推理的时候报错,加载的模型结构和模型参数匹配不上。 #91

Open
CeasarQ opened this issue Sep 3, 2024 · 3 comments

Comments

@CeasarQ
Copy link

CeasarQ commented Sep 3, 2024

image

@frotms
Copy link
Owner

frotms commented Sep 3, 2024

完整的命令发下

@CeasarQ
Copy link
Author

CeasarQ commented Sep 3, 2024

是直接用predict_system.py跑的,在pytorchocr_utility.py中配置好了det和rec的pth文件路径。并且根据yaml文件配置了v4_server_infer的network_config见下图
image

@frotms
Copy link
Owner

frotms commented Sep 4, 2024

可以对比下,跟命令行运行,配置差在哪里。初步看没看出有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants