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

运行EAE任务时出错 #40

Closed
weiSENshu opened this issue Jul 11, 2023 · 1 comment
Closed

运行EAE任务时出错 #40

weiSENshu opened this issue Jul 11, 2023 · 1 comment

Comments

@weiSENshu
Copy link

weiSENshu commented Jul 11, 2023

运行时出现以下错误
image

原因是OmniEvent/infer.py 文件的第134行 do_event_argument_extraction()函数少加了个参数‘device'

可以在seq2seq.py文件下找到对应函数
image
在添加'device'参数后,可以正常运行

h-peng17 added a commit that referenced this issue Jul 19, 2023
@h-peng17
Copy link
Member

好的,谢谢发现这个bug。我们已经在512e2fe76f966961d0e77bdb3c44e12b2ea42922中进行了修复。

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

2 participants