{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/fbcunn/issues/59","labels_url":"https://api.github.com/repos/facebook/fbcunn/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbcunn/issues/59/comments","events_url":"https://api.github.com/repos/facebook/fbcunn/issues/59/events","html_url":"https://github.com/facebook/fbcunn/issues/59","id":82254617,"number":59,"title":"Example fails with nil value","user":{"login":"cycladessoa-tangel","id":2806841,"avatar_url":"https://avatars.githubusercontent.com/u/2806841?v=3","gravatar_id":"","url":"https://api.github.com/users/cycladessoa-tangel","html_url":"https://github.com/cycladessoa-tangel","followers_url":"https://api.github.com/users/cycladessoa-tangel/followers","following_url":"https://api.github.com/users/cycladessoa-tangel/following{/other_user}","gists_url":"https://api.github.com/users/cycladessoa-tangel/gists{/gist_id}","starred_url":"https://api.github.com/users/cycladessoa-tangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycladessoa-tangel/subscriptions","organizations_url":"https://api.github.com/users/cycladessoa-tangel/orgs","repos_url":"https://api.github.com/users/cycladessoa-tangel/repos","events_url":"https://api.github.com/users/cycladessoa-tangel/events{/privacy}","received_events_url":"https://api.github.com/users/cycladessoa-tangel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T04:27:34Z","updated_at":"2015-06-08T18:18:45Z","closed_at":"2015-06-08T18:18:45Z","body":"\r\nHi Folks,\r\n\r\nI am getting the same error as issue #13, followed all the directions, made sure to check out correct branch (used exact installation text) however still ran into this error:\r\n\r\n=> Criterion\t\r\nnn.ClassNLLCriterion\r\n==> Converting model to CUDA\t\r\n/home/tangel/torch/install/bin/luajit: /usr/local/share/lua/5.1/fbnn/Optim.lua:61: attempt to call method 'for_each' (a nil value)\r\nstack traceback:\r\n\t/usr/local/share/lua/5.1/fbnn/Optim.lua:61: in function '__init'\r\n\t/home/tangel/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/tangel/torch/install/share/lua/5.1/torch/init.lua:47>\r\n\t[C]: in function 'Optim'\r\n\t/home/tangel/fbcunn/examples/imagenet/train.lua:35: in main chunk\r\n\t[C]: in function 'dofile'\r\n\tmain.lua:30: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...ngel/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk\r\n\t[C]: at 0x00406670\r\n\r\nThanks,\r\nTom"}}