{"action":"closed","issue":{"url":"https://api.github.com/repos/hughperkins/clnn/issues/35","repository_url":"https://api.github.com/repos/hughperkins/clnn","labels_url":"https://api.github.com/repos/hughperkins/clnn/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/hughperkins/clnn/issues/35/comments","events_url":"https://api.github.com/repos/hughperkins/clnn/issues/35/events","html_url":"https://github.com/hughperkins/clnn/issues/35","id":141853640,"number":35,"title":"bad argument #1 to 'set' (expecting number or torch.FloatTensor or torch.FloatStorage)","user":{"login":"maciekd","id":2115665,"avatar_url":"https://avatars.githubusercontent.com/u/2115665?v=3","gravatar_id":"","url":"https://api.github.com/users/maciekd","html_url":"https://github.com/maciekd","followers_url":"https://api.github.com/users/maciekd/followers","following_url":"https://api.github.com/users/maciekd/following{/other_user}","gists_url":"https://api.github.com/users/maciekd/gists{/gist_id}","starred_url":"https://api.github.com/users/maciekd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciekd/subscriptions","organizations_url":"https://api.github.com/users/maciekd/orgs","repos_url":"https://api.github.com/users/maciekd/repos","events_url":"https://api.github.com/users/maciekd/events{/privacy}","received_events_url":"https://api.github.com/users/maciekd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T12:38:11Z","updated_at":"2016-03-18T12:44:01Z","closed_at":"2016-03-18T12:44:01Z","body":"Hi,\r\n\r\nIm trying to run my NN using clnn. When executing the forward pass:\r\n\r\n            local outputs = model:forward(inputs)\r\n\r\nI get the following error:\r\ntorch/install/share/lua/5.1/torch/Tensor.lua:458: bad argument #1 to 'set' (expecting number or torch.FloatTensor or torch.FloatStorage at /tmp/luarocks_torch-scm-1-2862/torch7/generic/Tensor.c:1125)\r\nstack traceback:\r\n\t[C]: in function 'set'\r\n\ttorch/install/share/lua/5.1/torch/Tensor.lua:458: in function 'view'\r\n\ttorch/install/share/lua/5.1/nn/Reshape.lua:46: in function <torch/install/share/lua/5.1/nn/Reshape.lua:31>\r\n\t[C]: in function 'xpcall'\r\n\ttorch/install/share/lua/5.1/nn/Container.lua:65: in function 'rethrowErrors'\r\n\ttorch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'\r\n\ttrain.lua:272: in function 'opfunc'\r\n\ttorch/install/share/lua/5.1/optim/sgd.lua:44: in function 'sgd'\r\n\ttrain.lua:327: in function 'train'\r\n\ttrain.lua:420: in main chunk\r\n\t[C]: at 0x010a141bd0\r\n\r\nI might be missing something fundamental, not sure?"}}