-
Notifications
You must be signed in to change notification settings - Fork 80
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
attention漂移问题 #7
Comments
你好,看你给出来的被识别图片非常的长,但是需要被识别的字符只是在中间的一个小区域。 |
抱歉回复较晚 |
非常感谢回复及给的建议,我会持续关注你的更新,再次感谢 |
我在训练完后,attention可视化发现attention位置存在漂移,但识别结果是正确的。而且发现大部分字符的attention位置都位于它的上方,例如下图为识别NH_{4}^{+}的 N时的attention位置图


而且,对于公式的一些结构信息识别,漂移更严重,而且attention位置呈发散状。例如下图为识别NH_{4}^{+}的 下标结构 "{"的attention图
能帮分析下,这是什么原因引起的吗。
The text was updated successfully, but these errors were encountered: