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

code #1

Open
DreamerDW opened this issue Apr 10, 2020 · 1 comment
Open

code #1

DreamerDW opened this issue Apr 10, 2020 · 1 comment

Comments

@DreamerDW
Copy link

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

@xcgydfjjjderg
Copy link

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

Did you solve it, I have the same problem. And I emailed the author with no response. Thank you very much.

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

2 participants