{"action":"created","issue":{"url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/16","repository_url":"https://api.github.com/repos/harvardnlp/sent-conv-torch","labels_url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/16/comments","events_url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/16/events","html_url":"https://github.com/harvardnlp/sent-conv-torch/issues/16","id":171666230,"number":16,"title":"problem running with GPU","user":{"login":"eliabruni","id":490453,"avatar_url":"https://avatars.githubusercontent.com/u/490453?v=3","gravatar_id":"","url":"https://api.github.com/users/eliabruni","html_url":"https://github.com/eliabruni","followers_url":"https://api.github.com/users/eliabruni/followers","following_url":"https://api.github.com/users/eliabruni/following{/other_user}","gists_url":"https://api.github.com/users/eliabruni/gists{/gist_id}","starred_url":"https://api.github.com/users/eliabruni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliabruni/subscriptions","organizations_url":"https://api.github.com/users/eliabruni/orgs","repos_url":"https://api.github.com/users/eliabruni/repos","events_url":"https://api.github.com/users/eliabruni/events{/privacy}","received_events_url":"https://api.github.com/users/eliabruni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-17T14:04:49Z","updated_at":"2016-08-18T15:40:39Z","closed_at":null,"body":"Hei,\r\n\r\nFirst of all great job!\r\nI am trying your code with GPU turned on but I get the error below (I tried it on different machines, and it persists), hope you can help. I found [a commit by Karpathy](https://github.com/karpathy/char-rnn/commit/0fb9a7753ec3714d89cce836f40387a05b3c21fa) which looks related, if it can help.\r\n\r\nth main.lua -data MR.hdf5 -cudnn 1 -gpuid 1\r\nloading data... \r\ndata loaded!\r\nvocab size:     18766   \r\nvec size:       300\r\n==> fold        1\r\n/home/elia/torch/install/bin/luajit: invalid arguments: CudaTensor CudaTensor CudaTensor number \r\nexpected arguments: CudaTensor | [*CudaTensor*] [*CudaLongTensor*] CudaTensor index\r\nstack traceback:\r\n        [C]: at 0x7f0e5efcdd30\r\n        [C]: in function 'max'\r\n        /home/elia/torch/install/share/lua/5.1/nn/Max.lua:30: in function 'func'\r\n        /home/elia/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'\r\n        /home/elia/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward'\r\n        ./trainer.lua:61: in function 'opfunc'\r\n        /home/elia/torch/install/share/lua/5.1/optim/adadelta.lua:31: in function 'optim_method'\r\n        ./trainer.lua:86: in function 'train'\r\n        main.lua:195: in function 'train_loop'\r\n        main.lua:341: in function 'main'\r\n        main.lua:354: in main chunk\r\n        [C]: in function 'dofile'\r\n        ...elia/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n        [C]: at 0x00406670"},"comment":{"url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/comments/240764270","html_url":"https://github.com/harvardnlp/sent-conv-torch/issues/16#issuecomment-240764270","issue_url":"https://api.github.com/repos/harvardnlp/sent-conv-torch/issues/16","id":240764270,"user":{"login":"eliabruni","id":490453,"avatar_url":"https://avatars.githubusercontent.com/u/490453?v=3","gravatar_id":"","url":"https://api.github.com/users/eliabruni","html_url":"https://github.com/eliabruni","followers_url":"https://api.github.com/users/eliabruni/followers","following_url":"https://api.github.com/users/eliabruni/following{/other_user}","gists_url":"https://api.github.com/users/eliabruni/gists{/gist_id}","starred_url":"https://api.github.com/users/eliabruni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliabruni/subscriptions","organizations_url":"https://api.github.com/users/eliabruni/orgs","repos_url":"https://api.github.com/users/eliabruni/repos","events_url":"https://api.github.com/users/eliabruni/events{/privacy}","received_events_url":"https://api.github.com/users/eliabruni/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T15:40:39Z","updated_at":"2016-08-18T15:40:39Z","body":"Working! Thanks a lot :)"}}
{"actor":{"display_login":"eliabruni"}}