draw icon indicating copy to clipboard operation
draw copied to clipboard

connection refused

Open dailai opened this issue 9 years ago • 1 comments

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

dailai avatar Mar 30 '16 06:03 dailai

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.

jiangsutx avatar Apr 18 '16 09:04 jiangsutx