graphvite icon indicating copy to clipboard operation
graphvite copied to clipboard

train and crash on jupyter

Open w279805299 opened this issue 5 years ago • 1 comments

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.

w279805299 avatar Jan 05 '21 03:01 w279805299

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.

KiddoZhu avatar Jan 08 '21 10:01 KiddoZhu