DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.21k stars 151 forks source link

train and crash on jupyter #77

Open w279805299 opened 3 years ago

w279805299 commented 3 years ago
from  graphvite.dataset import Dataset
import numpy as np
import graphvite as gv
import graphvite.application as gap

import networkx as nx
G = nx.barabasi_albert_graph(100,3)
nx.write_edgelist(G, 'data/test.edge_list', data=False, delimiter='\t')

app = gap.GraphApplication(dim=128)
app.load(file_name="data/test.edge_list")
app.build()
app.train()

run those code, jupyter got cashed quickly. How could I check the error.

KiddoZhu commented 3 years ago

I don't suggest debugging in Jupyter, since all C++ exceptions aren't showed in Jupyter.

Could you show the detailed crash report from Jupyter Notebook? There might be some menu or button redirecting you to the report when it crashes.