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
MOEL-masterlutils beam_omt_experts.py", line 108, in get_hypothesisk = selfprev ks[il[k]IndexError: tensors used as indices must be long, int, byte or bool tensors
Execuse me, When I run the code, I met this error. Do you know what happened?
------------------ 原始邮件 ------------------
发件人: "HLTCHKUST/MoEL" ***@***.***>;
发送时间: 2023年12月12日(星期二) 晚上9:08
***@***.***>;
***@***.******@***.***>;
主题: Re: [HLTCHKUST/MoEL] ret_sentences.append(' '.join([self.model.vocab.index2word[idx] for idx in d[0]]).replace('EOS','')) KeyError: 9.5367431640625e-07 (Issue #9)
MOEL-masterlutils beam_omt_experts.py", line 108, in get_hypothesisk = selfprev ks[il[k]IndexError: tensors used as indices must be long, int, byte or bool tensors
image.png (view on web)
Execuse me, When I run the code, I met this error. Do you know what happened?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
When I run the code for my dataset, I met this error. Do you know what happened?
The text was updated successfully, but these errors were encountered: