TextGrapher
TextGrapher copied to clipboard
'tuple' object has no attribute 'head'
请问遇到这个问题怎么解决呀
我也遇到了一样的问题!请问您解决了吗?
你好,我没解决,我是通过更换老版本解决的,我没有找到网上的相关文档
---Original--- From: @.> Date: Wed, Mar 8, 2023 09:44 AM To: @.>; Cc: @.@.>; Subject: Re: [liuhuanyong/TextGrapher] 'tuple' object has no attribute 'head'(Issue #23)
我也遇到了一样的问题!请问您解决了吗?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
要更换到哪个版本呢?
@hjh454454 @Galaxy404l 这两行报错: arc_index = arcs[index].head arc_relation = arcs[index].relation
对应改成以下代码即可: arc_index = arcs[index][0] arc_relation = arcs[index][1]