draw icon indicating copy to clipboard operation
draw copied to clipboard

Could not connect to localhost:8172: connection refused

Open ghost opened this issue 8 years ago • 2 comments

Hi, everyone

when I run dofile('draw_attention.lua') in itorch notebook, it shows an error :

Could not connect to localhost:8172: connection refused

/root/torch/install/share/lua/5.1/nngraph/gmodule.lua:152: node declared on [draw_attention.lua]:40_ does not connect to gmodule output stack traceback: [C]: in function 'assert' /root/torch/install/share/lua/5.1/nngraph/gmodule.lua:152: in function '__init' /root/torch/install/share/lua/5.1/torch/init.lua:91: in function </root/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'gModule' draw_attention.lua:125: in main chunk [C]: in function 'f' [string "local f = function() return dofile('draw_atte..."]:1: in main chunk [C]: in function 'xpcall' /root/torch/install/share/lua/5.1/itorch/main.lua:209: in function </root/torch/install/share/lua/5.1/itorch/main.lua:173> /root/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll' /root/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll' /root/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex' /root/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start' /root/torch/install/share/lua/5.1/itorch/main.lua:381: in main chunk [C]: in function 'require' (command line):1: in main chunk [C]: at 0x00406620

ghost avatar Mar 05 '16 11:03 ghost

i didnt run it in itorch -- you can use zbs-torch ide with Torch7 selected as interpreter

vivanov879 avatar Mar 16 '16 06:03 vivanov879

Or you can simply comment the lines: require 'mobdebug'.start() nngraph.setDebug(true)

jiangsutx avatar Apr 18 '16 09:04 jiangsutx