RWR-GAE icon indicating copy to clipboard operation
RWR-GAE copied to clipboard

code

Open DreamerDW opened this issue 4 years ago • 1 comments

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

DreamerDW avatar Apr 10 '20 10:04 DreamerDW

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.

xcgydfjjjderg avatar Oct 30 '22 09:10 xcgydfjjjderg