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

识别模型head问题 #68

Open
294978174 opened this issue Feb 16, 2023 · 5 comments
Open

识别模型head问题 #68

294978174 opened this issue Feb 16, 2023 · 5 comments

Comments

@294978174
Copy link

您好 我看paddle识别用了两个头 一个CTC 一个Sarhead 我看您代码 转预训练模型的时候没有用sar
elif k.startswith('Student.head.sar_head.'):
continue

这是为什么呢

@frotms
Copy link
Owner

frotms commented Feb 16, 2023

paddle识别推理时也只用了ctc

@Ivansyf34
Copy link

paddle识别推理时也只用了ctc

请问paddle的推理模型怎样转换成pth啊

@frotms
Copy link
Owner

frotms commented Dec 26, 2023

@Ivansyf34
Copy link

@Ivansyf34 https://github.com/frotms/PaddleOCR2Pytorch/blob/main/doc/doc_ch/inference.md

这不是只能转换训练模型.pdmarams文件吗,paddle导出的推理模型.pdiparams .pdmodel那怎么转换呐

@frotms
Copy link
Owner

frotms commented Dec 26, 2023

目前转换不了

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

3 participants