vivanov879 / draw Goto Github PK
View Code? Open in Web Editor NEWTorch implementation of DRAW: A Recurrent Neural Network For Image Generation
Torch implementation of DRAW: A Recurrent Neural Network For Image Generation
Hi you have a multi-define in your code
--gx = duplicate(nn.Linear(rnn_size, 1)(input), size_image)
gx = duplicate(nn.Linear(rnn_size, 1)(input), size_image)
Hello guys, i've got some problem when i try to show out the result of the code.
As the topic, i run the plot_results.lua in zerobrane studio with the interpreter qlua, but get the error message as above. What should i do??
the complete output as follow:
Debugging session started in '/home/albert/Downloads/zbs-torch-master/interpreters/'.
tput: No value for $TERM and no -T specified
/opt/zbstudio/bin/linux/x64/lua: cannot open <x_prediction> in mode r at /home/albert/torch/pkg/torch/lib/TH/THDiskFile.c:649
stack traceback:
[C]: at 0x7f1190dca7b0
[C]: in function 'DiskFile'
/home/albert/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
/home/albert/.cache/.fr-SaMhWS/draw-master/plot_results.lua:11: in main chunk
[C]: at 0x004054e8
Debugging session completed (traced 0 instructions).
Program completed in 2.82 seconds (pid: 12603).
Debugging session started in '/home/albert/.cache/.fr-SaMhWS/draw-master/'.
Debugging session completed (traced 0 instructions).
ps. Actually, I can open the x_prediction in terminal with command 'th'! But i have no idea why it can't be open through zerobrane studio
hey there. Could you give some pointers on usage of library and how to feed it your own data? got it running but slightly confusing so far. thanks!
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.