Hanjun-Dai / graph_comb_opt

Implementation of "Learning Combinatorial Optimization Algorithms over Graphs"
https://arxiv.org/abs/1704.01665
MIT License
491 stars 135 forks source link

run error in realworld_s2v_mvc #22

Open Juseong-Bang opened 4 years ago

Juseong-Bang commented 4 years ago

I was tested in real-world data using Infonet data that uploaded in readme link. I already compiled mvc_lib and so much warning arise. And when i try to run realworld_s2v_mvc these error come up. Please help me.

File "/home/juseong/graph_comb_opt/code/realworld_s2v_mvc/../memetracker/meme.py", line 50, in build_full_graph for edge in g.edges_iter(data=True): AttributeError: 'Graph' object has no attribute 'edges_iter'

Hanjun-Dai commented 4 years ago

probably that is due to the version miss match of networkx. Can you try an older version of networkx?