You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we provide two additional options to solve the problem you mentioned. For reason 1, you can add filter_max_len: True in your configure file to filter these problematic cases; And you can add filter_max_len: True and extra_count_if_repeat: True to filter these cases raised from reason 2. For detail, you can check configs/rec/svtr/svtr_tiny.yaml. :)
现象:
![损失上溢1115](https://private-user-images.githubusercontent.com/57003319/282997709-23b6d785-2453-4ac0-86c1-9255b821a955.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4OTQ5MDEsIm5iZiI6MTcxOTg5NDYwMSwicGF0aCI6Ii81NzAwMzMxOS8yODI5OTc3MDktMjNiNmQ3ODUtMjQ1My00YWMwLTg2YzEtOTI1NWI4MjFhOTU1LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDA0MzAwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwNTE2NWRjYWM0OTViZjU0NzYyYmY1YTBkYWVhNTFmN2NjM2VlNDE5ZWM5YjhlYmJlMjJiMmVhNmRkODYxZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MvD79tWrGZ123qLJK4szCi8TP3vPaMJhQHc9rlJOgeg)
存在和数据绑定的损失函数上溢
截图:
现状: 已解决
原因:
详细说明:地址
解决方法:
统计标注最大长度,配置seq_max_len;
统计标注+重复标识符最大长度,配置pred_seq_len
并分别修改训练、评估、预测中的img_shape中的宽度,满足4 x pred_seq_len
建议:
在raining_recognition_custom_dataset中提示用户,
https://github.com/mindspore-lab/mindocr/blob/main/docs/en/tutorials/training_recognition_custom_dataset.md
https://github.com/mindspore-lab/mindocr/blob/main/docs/cn/tutorials/training_recognition_custom_dataset.md
The text was updated successfully, but these errors were encountered: