graph-generation
graph-generation copied to clipboard
GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Models
When run ``` def load_graph_list(fname,is_real=True): with open(fname, "rb") as f: graph_list = pickle.load(f) # len=100 for i in range(len(graph_list)): edges_with_selfloops = graph_list[i].selfloop_edges() if len(edges_with_selfloops)>0: graph_list[i].remove_edges_from(edges_with_selfloops) if is_real: graph_list[i] = max(nx.connected_component_subgraphs(graph_list[i]),...
If I run the code on mac, and my mac don't have GPU. Do I have to install CUDA? I get an error for 'AssertionError: Torch not compiled with CUDA...
Hello, When I execute main.py. I had the following error. Traceback (most recent call last): File "main.py", line 1, in from train import * File "/home/Documents/DeepLearning/graph-generation/train.py", line 24, in from...
What's the best way to visualize the quality of the generated graphs at each epoch? I expected /figures or /figures_prediction to have these images but didn't get anything after training...
Adding two necessary python packages
Hello, why the number of gragh nodes is not compatible with x, tx, allx, I need the y value of all nodes in the graph, thank you