cgao-comp/DGCN

There seems to be some bugs in the code

KajiMaCN opened this issue · 0 comments

Could you provide the dependencies needed to run the code?
In addition, I had some problems running the code with the following error message:

Traceback (most recent call last):
File "train_dgcn.py", line 165, in
adj, features, idx_train, idx_val, idx_test, args, graph = get_data(dice, node_num, time_edges_path)
File "train_dgcn.py", line 68, in get_data
adj, features, graph = get_afldata(dice, node_num, edges_path)
File "/DGCN/code/pygcn/utils.py", line 89, in get_afldata
similairity_matirx, graph = getSimilariy_modified(adj,node_num,edges_path)
File "/DGCN/code/pygcn/utils.py", line 153, in getSimilariy_modified
node_list = list(graph.node())
AttributeError: 'Graph' object has no attribute 'node'