{"action":"opened","issue":{"url":"https://api.github.com/repos/VT-vision-lab/VQA_LSTM_CNN/issues/10","repository_url":"https://api.github.com/repos/VT-vision-lab/VQA_LSTM_CNN","labels_url":"https://api.github.com/repos/VT-vision-lab/VQA_LSTM_CNN/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/VT-vision-lab/VQA_LSTM_CNN/issues/10/comments","events_url":"https://api.github.com/repos/VT-vision-lab/VQA_LSTM_CNN/issues/10/events","html_url":"https://github.com/VT-vision-lab/VQA_LSTM_CNN/issues/10","id":134479667,"number":10,"title":"th train.lua -backend nn failed!","user":{"login":"andyyuan78","id":5688861,"avatar_url":"https://avatars.githubusercontent.com/u/5688861?v=3","gravatar_id":"","url":"https://api.github.com/users/andyyuan78","html_url":"https://github.com/andyyuan78","followers_url":"https://api.github.com/users/andyyuan78/followers","following_url":"https://api.github.com/users/andyyuan78/following{/other_user}","gists_url":"https://api.github.com/users/andyyuan78/gists{/gist_id}","starred_url":"https://api.github.com/users/andyyuan78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyyuan78/subscriptions","organizations_url":"https://api.github.com/users/andyyuan78/orgs","repos_url":"https://api.github.com/users/andyyuan78/repos","events_url":"https://api.github.com/users/andyyuan78/events{/privacy}","received_events_url":"https://api.github.com/users/andyyuan78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-18T04:35:28Z","updated_at":"2016-02-18T04:35:28Z","closed_at":null,"body":"envy@ub1404envy:~/os_prj/github/_QA/VQA_LSTM_CNN$ ll\r\ntotal 5387680\r\ndrwxrwxr-x 7 envy envy       4096 Feb 18 12:33 ./\r\ndrwxrwxr-x 5 envy envy       4096 Feb 18 00:37 ../\r\ndrwxrwxr-x 4 envy envy       4096 Feb 15 17:29 data/\r\n-rw-rw-r-- 1 envy envy 2014627936 Feb 18 12:32 data_img.h5\r\n-rw-rw-r-- 1 envy envy 2014627936 Dec 14 00:03 data_img.h5-ori\r\n-rw-rw-r-- 1 envy envy   84335736 Feb 18 12:03 data_prepro.h5\r\n-rw-rw-r-- 1 envy envy    9169211 Feb 18 12:03 data_prepro.json\r\n-rw-rw-r-- 1 envy envy  716074236 Dec 16 14:45 data_train_val.zip\r\n-rwxrwxr-x 1 envy envy       9395 Dec 29 19:26 eval.lua*\r\n-rwxrwxr-x 1 envy envy        741 Dec 29 19:26 evaluate.py*\r\ndrwxrwxr-x 8 envy envy       4096 Dec 29 19:26 .git/\r\ndrwxrwxr-x 2 envy envy       4096 Dec 29 19:26 misc/\r\ndrwxrwxr-x 2 envy envy       4096 Feb 17 00:18 model/\r\n-rw-rw-r-- 1 envy envy       3005 Feb 18 12:31 path_to_cnn_prototxt.lua\r\n-rwxrwxr-x 1 envy envy       3403 Dec 29 19:26 prepro_img.lua*\r\n-rwxrwxr-x 1 envy envy       9279 Dec 29 19:26 prepro.py*\r\n-rw-rw-r-- 1 envy envy   53612941 Dec 14 19:57 pretrained_lstm_train.t7\r\n-rw-rw-r-- 1 envy envy   49743190 Dec 16 14:04 pretrained_lstm_train_val.t7.zip\r\n-rwxrwxr-x 1 envy envy       3625 Dec 29 19:26 readme.md*\r\ndrwxrwxr-x 2 envy envy       4096 Feb 17 00:18 result/\r\n-rwxrwxr-x 1 envy envy      10759 Dec 29 19:26 train.lua*\r\n-rw-rw-r-- 1 envy envy  574671192 Sep 24  2014 VGG_ILSVRC_19_layers.caffemodel\r\n-rw-rw-r-- 1 envy envy       2715 Feb 18 12:05 yknote---log--1\r\nenvy@ub1404envy:~/os_prj/github/_QA/VQA_LSTM_CNN$ th train.lua -backend nn\r\n{\r\n  learning_rate_decay_every : 50000\r\n  batch_size : 500\r\n  gpuid : 0\r\n  common_embedding_size : 1024\r\n  input_img_h5 : \"data_img.h5\"\r\n  input_encoding_size : 200\r\n  learning_rate_decay_start : -1\r\n  input_json : \"data_prepro.json\"\r\n  num_output : 1000\r\n  input_ques_h5 : \"data_prepro.h5\"\r\n  rnn_size : 512\r\n  max_iters : 150000\r\n  checkpoint_path : \"model/\"\r\n  save_checkpoint_every : 25000\r\n  learning_rate : 0.0003\r\n  img_norm : 1\r\n  backend : \"nn\"\r\n  rnn_layer : 2\r\n  seed : 123\r\n}\r\nDataLoader loading h5 file: \tdata_prepro.h5\t\r\nDataLoader loading h5 file: \tdata_img.h5\t\r\nBuilding the model...\t\r\nshipped data function to cuda...\t\r\n/home/envy/torch/install/bin/luajit: train.lua:200: index out of range at /home/envy/torch/pkg/torch/lib/TH/generic/THTensorMath.c:156\r\nstack traceback:\r\n\t[C]: in function 'index'\r\n\ttrain.lua:200: in function 'next_batch'\r\n\ttrain.lua:247: in function 'opfunc'\r\n\t/home/envy/torch/install/share/lua/5.1/optim/rmsprop.lua:32: in function 'rmsprop'\r\n\ttrain.lua:303: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...envy/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n\t[C]: at 0x00406670\r\nenvy@ub1404envy:~/os_prj/github/_QA/VQA_LSTM_CNN$ \r\n"}}