-
Notifications
You must be signed in to change notification settings - Fork 64
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
beam search = True 出错 #12
Comments
beam_search 为True的时候,批次大小被扩大了beam_size倍,但有个地方没改,dim没对应上, |
训练阶段也需要beam search 吗? 为什么作者的训练阶段也要加 beam search? |
@arcral 你好,今天看到了你的回答,我想问一下,关于beam search为TRUE时批次扩大的问题,能否帮我指出哪个地方的dim对应不上?我现在训练是也是无法顺利完成,显示的错误确实是某个维度不匹配 |
@JinmingZhao 你好,在查找beamsearch相关问题时看到了你的这个问题。我在使用beam search时也遇到了这个问题,不知你现在是否已经解决?如果已解决,能否告知一下解决方法,谢谢。 |
@zhedongzheng 你好,在查找beamsearch相关问题时看到了你的这个问题。我在使用beam search时也遇到了这个问题,不知你现在是否已经解决?如果已解决,能否告知一下解决方法,谢谢。 |
@xuyl0104 BeamSearch 只在解码时用到, 训练不用Beam Search, 你可以把报错信息贴出来看看 |
这个代码确实有问题,,,,train的时候不能用beamsearch,,,,找了好几个小时的错误,😭 |
1 similar comment
这个代码确实有问题,,,,train的时候不能用beamsearch,,,,找了好几个小时的错误,😭 |
当 beam_search = False 时,模型可以正常训练
但是当 beam_search = True 时,就会报错
The text was updated successfully, but these errors were encountered: