SVTR PaddleOCR/ppocr/postprocess /rec_postprocess.py SVTRLabelDecode #12423
Unanswered
EternityWM
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在使用官方给的SVTR模型对自己的英文数据集进行评估时,官方提供的演示步骤(PaddleOCR/doc/doc_ch/algorithm_rec_svtr.md)是基于svtr-tiny,我在使用base和large版本时候,这两个版本的yaml配置文件中
...
PostProcess:
name: SVTRLabelDecode
...
tiny版本的yaml配置文件是
...
PostProcess:
name: CTCLabelDecode
...
所以在运行的时候会出错,原因是PaddleOCR/ppocr/postprocess /rec_postprocess.py中没有SVTRLabelDecode
请问是还没有更新吗?或者说是用SVTRLabelDecode或者CTCLabelDecode都可以呢?
另外这一步的注释写的是SVTRLabelDecode is used for eval after train, please change to CTCLabelDecode when training,不太理解什么意思。
因为我的目的仅仅是想使用官方给的模型在自己的数据集上面测试一下准确率是多少?所以这里不明白,谢谢解答
Beta Was this translation helpful? Give feedback.
All reactions