SGM icon indicating copy to clipboard operation
SGM copied to clipboard

beam设置的问题

Open terminator123 opened this issue 3 years ago • 0 comments

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

terminator123 avatar Jul 22 '20 11:07 terminator123