Bug #553
Unanswered
Zhongbing-Chen
asked this question in
Q&A
Bug
#553
Replies: 1 comment
-
|
这里参数指定需要参照官方文档中模型列表。我不记得v5有单独的繁体模型呀
<img width="789" height="133" alt="image" src="https://github.com/user-attachments/assets/cc146ca1-08b1-40df-9c54-33e5663c207f" />
我后面更新一下提示,v5没有单独的繁体模型的。
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
问题描述 / Problem Description
ocr = RapidOCR(params={"Rec.ocr_version": OCRVersion.PPOCRV5, "Det.ocr_version": OCRVersion.PPOCRV5, "Rec.lang_type": LangRec.CHINESE_CHT})
使用繁体时遇到该问题
raise KeyError("File not found")
KeyError: 'File not found'
分析代码发现是用lang type去获取模型类型,但繁体和简体应该是用同一模型不同参数,可能需要调整模型获取的判断逻辑
Beta Was this translation helpful? Give feedback.
All reactions