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

KeyError: 'trigger_word' #1

Open
weiSENshu opened this issue Nov 15, 2023 · 2 comments
Open

KeyError: 'trigger_word' #1

weiSENshu opened this issue Nov 15, 2023 · 2 comments

Comments

@weiSENshu
Copy link

在运行python Code/ED/score_ED_E.py命令时,出现

trigger_word = event['trigger_word']
KeyError: 'trigger_word'

通过查找ED_E_gold.json文件,并未发现有trigger_word这个键
image
最后,通过参考score_EE_E.py的代码,发现event的key可能设置错误了,修改后,可以正常运行
image

@DeePBluE666
Copy link
Collaborator

我们会检查一下,有问题会及时更正,感谢!

@yangyang-PKU
Copy link
Collaborator

感谢提醒,已经修复

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

3 participants