You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the code, such an error occurs, what is the reason?
Thanks!
Traceback (most recent call last):
File "train.py", line 201, in
gae_for(args)
File "train.py", line 120, in gae_for
curr_pair = (int(walk[center_node_pos]), [])
NameError: name 'center_node_pos' is not defined
File "train.py", line 119, in gae_for
curr_pair = (int(walk[center_node_pos]), [])
UnboundLocalError: local variable 'center_node_pos' referenced before assignment
The text was updated successfully, but these errors were encountered:
When I run the code, such an error occurs, what is the reason? Thanks! Traceback (most recent call last): File "train.py", line 201, in gae_for(args) File "train.py", line 120, in gae_for curr_pair = (int(walk[center_node_pos]), []) NameError: name 'center_node_pos' is not defined File "train.py", line 119, in gae_for curr_pair = (int(walk[center_node_pos]), []) UnboundLocalError: local variable 'center_node_pos' referenced before assignment
Did you solve it, I have the same problem. And I emailed the author with no response. Thank you very much.
Hi,
When I run the code, such an error occurs, what is the reason?
Thanks!
Traceback (most recent call last):
File "train.py", line 201, in
gae_for(args)
File "train.py", line 120, in gae_for
curr_pair = (int(walk[center_node_pos]), [])
NameError: name 'center_node_pos' is not defined
File "train.py", line 119, in gae_for
curr_pair = (int(walk[center_node_pos]), [])
UnboundLocalError: local variable 'center_node_pos' referenced before assignment
The text was updated successfully, but these errors were encountered: