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

在算某一节点时,类型有误AttributeError: 'str' object has no attribute 'name' #8

Open
AlecMaxPro opened this issue Nov 28, 2024 · 0 comments

Comments

@AlecMaxPro
Copy link

在我运行示例时,在输出了2w+之后,报错File "acdc/acdc_graphics.py", line 92, in get_node_name name = node.name + str(node.index.graphviz_index(use_actual_colon=True)) AttributeError: 'str' object has no attribute 'name' 这个应该是在算某一个边或者节点时 get_node_name方法中传入了一个str而不是TLACDCInterpNode。请问要如何解决这个bug呢?

应该跟我注释掉了main.py中的line 329无关吧? assert things.validation_data.shape[0] <= things.test_data.shape[0]

感谢作者恢回复!

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

1 participant