-
Notifications
You must be signed in to change notification settings - Fork 7.7k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
PaddleOCR ch_PP-OCRv4_rec_hgnet 在读取数据时出现list index out of range,但是以前的版本并不会 #10798
Comments
Same problem here, could you please share your .yml and train_data folder structure |
看样子是由于V4文字检测模型配置文件引入的一个问题。 应该是引入了动态shrink ratio(dynamic shrink ratio):在训练中,shrink ratio由固定值调整为动态变化,随着训练epoch的增加,shrink ratio从0.4线性增加到0.6。该策略在PP-OCRv4学生检测模型上,hmean从76.97%提升到78.24%。 - MakeBorderMap:
shrink_ratio: 0.4
thresh_min: 0.3
thresh_max: 0.7
total_epoch: *epoch_num
- MakeShrinkMap:
shrink_ratio: 0.4
min_text_size: 8
total_epoch: *epoch_num 应该不会影响识别效果? @dhhcj 大佬,你测试过这个模型效果了吗? |
official ch_PP-OCRv4_rec_hgnet.yml, just change the default label_file_list and pretrained_model |
|
emm,训练的时候直接注释掉得了,只要不影响效果就好。 |
你好,请问你有试过动态shrink么,真的有提点么? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no):
请尽量不要包含图片在问题中/Please try to not include the image in the issue.
这个是V4版本:
旧的V2版本:
并不会出现这个问题
The text was updated successfully, but these errors were encountered: