draw
draw copied to clipboard
connection refused
Could not connect to localhost:8172: connection refused /home/dailai/torch/install/bin/luajit: ...e/dailai/torch/install/share/lua/5.1/nngraph/gmodule.lua:176: node declared on [draw_attention.lua]:40_ does not connect to gmodule output
I came across the same problem.
Finally I find that, the author have two lines Line 40-41 (40_ means Line 40):
Line:40 gx = duplicate(nn.Linear(rnn_size, 1)(h_dec_prev))
Line:41 gx = duplicate(nn.Linear(rnn_size, 1)(h_dec_prev))
They assign gx twice, so simply comment one of the them will make it work.
The same problems in draw_no_attention_gaussian.lua can also be solved in this way.