{"action":"opened","issue":{"url":"https://api.github.com/repos/cmusatyalab/openface/issues/89","labels_url":"https://api.github.com/repos/cmusatyalab/openface/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/cmusatyalab/openface/issues/89/comments","events_url":"https://api.github.com/repos/cmusatyalab/openface/issues/89/events","html_url":"https://github.com/cmusatyalab/openface/issues/89","id":130342555,"number":89,"title":"Error with training a custom model","user":{"login":"aikewoody","id":17004429,"avatar_url":"https://avatars.githubusercontent.com/u/17004429?v=3","gravatar_id":"","url":"https://api.github.com/users/aikewoody","html_url":"https://github.com/aikewoody","followers_url":"https://api.github.com/users/aikewoody/followers","following_url":"https://api.github.com/users/aikewoody/following{/other_user}","gists_url":"https://api.github.com/users/aikewoody/gists{/gist_id}","starred_url":"https://api.github.com/users/aikewoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikewoody/subscriptions","organizations_url":"https://api.github.com/users/aikewoody/orgs","repos_url":"https://api.github.com/users/aikewoody/repos","events_url":"https://api.github.com/users/aikewoody/events{/privacy}","received_events_url":"https://api.github.com/users/aikewoody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-01T11:57:49Z","updated_at":"2016-02-01T11:57:49Z","closed_at":null,"body":"I am trying to create my own model and already preprocessed the training and test set with the following commands:\r\n\r\n`for N in {1..8}; do ./util/align-dlib.py <path-to-raw-data> align outerEyesAndNose <path-to-aligned-data> --size 96 & done`\r\n\r\n`./util/prune-dataset.py <path-to-aligned-data> --numImagesThreshold 3`\r\n\r\n`./util/create-train-val-split.py <path-to-aligned-data> --valRatio 0.5`\r\n\r\nThis went without any problems and produced good images where the nose is always at the center.\r\n\r\nWhen I run training/main.lua it starts training but all of a sudden an error occurs in train.lua, the stack traceback is:\r\n\r\n`/home/$user/torch/install/bin/luajit: /home/$user/torch/install/share/lua/5.1/threads/threads.lua:264: \r\n[thread 1 endcallback] /home/$user/torch/install/share/lua/5.1/torchx/concat.lua:9: attempt to index a nil value\r\nstack traceback:\r\n\t/home/$user/torch/install/share/lua/5.1/torchx/concat.lua:9: in function 'concat'\r\n\t/home/$user/Desktop/openface/training/train.lua:240: in function </home/$user/Desktop/openface/training/train.lua:164>\r\n\t[C]: in function 'xpcall'\r\n\t/home/$user/torch/install/share/lua/5.1/threads/threads.lua:173: in function 'dojob'\r\n\t/home/$user/torch/install/share/lua/5.1/threads/threads.lua:259: in function 'synchronize'\r\n\t/home/$user/Desktop/openface/training/train.lua:130: in function 'train'\r\n\t./training/main.lua:44: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...$user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n\t[C]: at 0x00406670\r\nstack traceback:\r\n\t[C]: in function 'error'\r\n\t/home/$user/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'\r\n\t/home/$user/Desktop/openface/training/train.lua:130: in function 'train'\r\n\t./training/main.lua:44: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...$user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n\t[C]: at 0x00406670`\r\n\r\nI hope someone can tell me why this happens."}}