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

'tuple' object has no attribute 'head' #23

Open
hjh454454 opened this issue Feb 16, 2023 · 4 comments
Open

'tuple' object has no attribute 'head' #23

hjh454454 opened this issue Feb 16, 2023 · 4 comments

Comments

@hjh454454
Copy link

image
请问遇到这个问题怎么解决呀

@Galaxy404l
Copy link

我也遇到了一样的问题!请问您解决了吗?

@hjh454454
Copy link
Author

hjh454454 commented Mar 8, 2023 via email

@ruarua6666
Copy link

要更换到哪个版本呢?

@ZhiminXu
Copy link

@hjh454454 @Galaxy404l
这两行报错:
arc_index = arcs[index].head
arc_relation = arcs[index].relation

对应改成以下代码即可:
arc_index = arcs[index][0]
arc_relation = arcs[index][1]

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

4 participants