PaddleOCR2Pytorch icon indicating copy to clipboard operation
PaddleOCR2Pytorch copied to clipboard

识别模型head问题

Open 294978174 opened this issue 3 years ago • 5 comments

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

这是为什么呢

294978174 avatar Feb 16 '23 01:02 294978174

paddle识别推理时也只用了ctc

frotms avatar Feb 16 '23 15:02 frotms

paddle识别推理时也只用了ctc

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

Ivansyf34 avatar Dec 26 '23 01:12 Ivansyf34

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

frotms avatar Dec 26 '23 01:12 frotms

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

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

Ivansyf34 avatar Dec 26 '23 02:12 Ivansyf34

目前转换不了

frotms avatar Dec 26 '23 02:12 frotms