Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection refused #3

Open
dailai opened this issue Mar 30, 2016 · 1 comment
Open

connection refused #3

dailai opened this issue Mar 30, 2016 · 1 comment

Comments

@dailai
Copy link

dailai commented Mar 30, 2016

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

@jiangsutx
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants