Skip to content
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设置的问题 #29

Open
terminator123 opened this issue Jul 22, 2020 · 0 comments
Open

beam设置的问题 #29

terminator123 opened this issue Jul 22, 2020 · 0 comments

Comments

@terminator123
Copy link

多标签训练的时候 beam需要设置吗,我设置成非1,代码报错
candidate += [tgt_vocab.convertToLabels(s.tolist(), utils.EOS) for s in samples]
显示 s 是list对象,无法进行to list操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant