ml4a / ml4a

A python library and collection of notebooks for making art with machine learning.

Home Page:https://ml4a.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InternalError: Error at structural_properties.c:4406: Weight vector must be non-negative

vishalkumarlondon opened this issue · comments

Hey Gene, when I run cell 24 in the image-path notebook, specifically, the code to get the paths between two random images, I get the following InternalError:

InternalError: Error at structural_properties.c:4406: Weight vector must be non-negative, Invalid value

Any suggestions on how I could proceed? Thanks

something's wrong with your igraph library installation.

Interesting... thanks. I was, in fact, having issues installing igraph properly. I followed these instructions: https://stackoverflow.com/questions/42890951/install-python-igraph-in-mac-osx-sierra

I did manage to create the kNN = 30 graph, but I only get the problem when running the 'get_shortest_paths' methods. I'll take a deeper look and will revisit my igraph installation. Thank you