{"action":"created","issue":{"url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/201","repository_url":"https://api.github.com/repos/jcjohnson/torch-rnn","labels_url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/201/comments","events_url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/201/events","html_url":"https://github.com/jcjohnson/torch-rnn/issues/201","id":241125950,"node_id":"MDU6SXNzdWUyNDExMjU5NTA=","number":201,"title":"Error running train.lua bad argument #2 to '?'","user":{"login":"lev4ukpavel2","id":12975646,"node_id":"MDQ6VXNlcjEyOTc1NjQ2","avatar_url":"https://avatars1.githubusercontent.com/u/12975646?v=4","gravatar_id":"","url":"https://api.github.com/users/lev4ukpavel2","html_url":"https://github.com/lev4ukpavel2","followers_url":"https://api.github.com/users/lev4ukpavel2/followers","following_url":"https://api.github.com/users/lev4ukpavel2/following{/other_user}","gists_url":"https://api.github.com/users/lev4ukpavel2/gists{/gist_id}","starred_url":"https://api.github.com/users/lev4ukpavel2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lev4ukpavel2/subscriptions","organizations_url":"https://api.github.com/users/lev4ukpavel2/orgs","repos_url":"https://api.github.com/users/lev4ukpavel2/repos","events_url":"https://api.github.com/users/lev4ukpavel2/events{/privacy}","received_events_url":"https://api.github.com/users/lev4ukpavel2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-07T00:43:49Z","updated_at":"2018-07-03T05:54:50Z","closed_at":"2017-07-07T08:37:10Z","author_association":"NONE","body":"Running in CPU mode\t\r\n/home/neuralnet/torch/install/bin/luajit: bad argument #2 to '?' (end index out of bound at /home/neuralnet/torch/pkg/torch/generic/Tensor.c:992)\r\nstack traceback:\r\n\t[C]: at 0x7f26723e9ff0\r\n\t[C]: in function '__index'\r\n\t./util/DataLoader.lua:35: in function '__init'\r\n\t/home/neuralnet/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/neuralnet/torch/install/share/lua/5.1/torch/init.lua:87>\r\n\t[C]: in function 'DataLoader'\r\n\ttrain.lua:76: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...lnet/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk\r\n\t[C]: at 0x00405d50\r\n\r\n\r\nThats what i get when running train.lua with command\r\nth train.lua -input_h5 my_data.h5 -input_json my_data.json -gpu -1"},"comment":{"url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/comments/402021425","html_url":"https://github.com/jcjohnson/torch-rnn/issues/201#issuecomment-402021425","issue_url":"https://api.github.com/repos/jcjohnson/torch-rnn/issues/201","id":402021425,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAyMTQyNQ==","user":{"login":"medori233","id":40781698,"node_id":"MDQ6VXNlcjQwNzgxNjk4","avatar_url":"https://avatars3.githubusercontent.com/u/40781698?v=4","gravatar_id":"","url":"https://api.github.com/users/medori233","html_url":"https://github.com/medori233","followers_url":"https://api.github.com/users/medori233/followers","following_url":"https://api.github.com/users/medori233/following{/other_user}","gists_url":"https://api.github.com/users/medori233/gists{/gist_id}","starred_url":"https://api.github.com/users/medori233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medori233/subscriptions","organizations_url":"https://api.github.com/users/medori233/orgs","repos_url":"https://api.github.com/users/medori233/repos","events_url":"https://api.github.com/users/medori233/events{/privacy}","received_events_url":"https://api.github.com/users/medori233/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T05:54:50Z","updated_at":"2018-07-03T05:54:50Z","author_association":"NONE","body":"my error is :  start index out of bound. what should i do?"}}
{"actor":{"display_login":"medori233"}}