lferry007 / LargeVis

Apache License 2.0
706 stars 167 forks source link

Segmentation fault (core dumped) #5

Open abojchevski opened 8 years ago

abojchevski commented 8 years ago

Running the network example I get the following error:

Total vertices : 7564   Total edges : 102372
Fitting model   Alpha: 0.989569 Progress: 1.043%Segmentation fault (core dumped)

Running it several times it manages to progress from around 1% to around 4% but never beyond. Any insights?

DataWaveAnalytics commented 8 years ago

There are several reporting this issue. I think the problem is in visualize_thread. The line p=sample_an_edge(gsl_rng_uniform(gsl_r), gsl_rng_uniform(gsl_r)) is returning p >= n_edges.

Could you please run using gdb to confirm? gdb --args ./largevis -input inputfile.txt ... the you run the algorithm typing run + Enter

This should show you there is a problem in the line x=edge_from[p]