torch / nngraph

Graph Computation for nn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dlsym(RTLD_DEFAULT, _fopen): symbol not found

cBournhonesque opened this issue · comments

Hi,

I'm trying to plot the graph for a NN, in debug mode, but I get this error:

.../torch/install/share/lua/5.1/graph/graphviz.lua:167: dlsym(RTLD_DEFAULT, _fopen): symbol not found stack traceback: [C]: in function '__index' .../torch/install/share/lua/5.1/graph/graphviz.lua:167: in function 'graphvizFile' ...e/torch/install/share/lua/5.1/graph/graphviz.lua:195: in function 'dot' ./Source/NN.lua:125: in function 'opfunc'

The nn is this:
question = nn.Identity()() local target = nn.Identity()(question) self.model = nn.gModule({question},{target})

The graph does plot when I use more complicated NNs (with two inputs, for example)

I installed graphviz through brew, nngraph through luarocks.
I am on OS X El Capitan v 10.11.4