Open jeanne-wang opened 8 years ago
For now you need to install an old version of cutorch: luarocks install cutorch 1.0-0
Great thanks! Now it works!
On Mon, Aug 22, 2016 at 3:41 PM, Joost van Doorn notifications@github.com wrote:
For now luarocks install cutorch 1.0-0 fixes this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Element-Research/rnn/issues/328#issuecomment-241415760, or mute the thread https://github.com/notifications/unsubscribe-auth/AUMbXc46YQ8tsV80_BTbwymig5OKhNW5ks5qiacWgaJpZM4Jp4Bw .
Xiaojuan Wang 王小鹃 Sun Yat-Sen University, China Homepage: xiaojuanwang.com Currently Reading https://www.goodreads.com/user/email_signature_destination/43766649?utm_medium=reading_link&utm_source=email_signature [image: Book Cover] https://www.goodreads.com/user/email_signature_destination/43766649?utm_medium=cover&utm_source=email_signature [image: Goodreads Logo] https://www.goodreads.com/?utm_medium=gr_logo&utm_source=email_signatureGet your own email signature https://www.goodreads.com/user/email_signature_instructions?utm_medium=gyo_link&utm_source=email_signature
Hi, When I was running "recurrent-visual-attention.lua' using CUDA, it met with such issues:
/home/wangxiaojuan/torch/install/bin/luajit: ...ojuan/torch/install/share/lua/5.1/dpnn/VRClassReward.lua:28: invalid arguments: CudaTensor CudaTensor CudaTensor number expected arguments: CudaTensor | [CudaTensor] [CudaLongTensor] CudaTensor index stack traceback: [C]: in function 'max' ...ojuan/torch/install/share/lua/5.1/dpnn/VRClassReward.lua:28: in function 'forward' ...uan/torch/install/share/lua/5.1/dpnn/ModuleCriterion.lua:23: in function 'updateOutput' ...uan/torch/install/share/lua/5.1/nn/ParallelCriterion.lua:23: in function 'forward' ...torch/install/share/lua/5.1/dp/propagator/propagator.lua:168: in function 'forward' .../torch/install/share/lua/5.1/dp/propagator/optimizer.lua:50: in function 'propagateBatch' ...torch/install/share/lua/5.1/dp/propagator/propagator.lua:127: in function 'propagateEpoch' ...torch/install/share/lua/5.1/dp/propagator/experiment.lua:110: in function 'run' recurrent-visual-attention.lua:258: in main chunk [C]: in function 'dofile' ...juan/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x00406670
Is there any setting wrong? I just run the original script and only change the "use cuda" option to "true"