{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fbcunn/issues/62","labels_url":"https://api.github.com/repos/facebook/fbcunn/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbcunn/issues/62/comments","events_url":"https://api.github.com/repos/facebook/fbcunn/issues/62/events","html_url":"https://github.com/facebook/fbcunn/issues/62","id":87001803,"number":62,"title":"Incompatibility between TemporalConvolution and TemporalConvolutionFB?","user":{"login":"ndronen","id":21194,"avatar_url":"https://avatars.githubusercontent.com/u/21194?v=3","gravatar_id":"","url":"https://api.github.com/users/ndronen","html_url":"https://github.com/ndronen","followers_url":"https://api.github.com/users/ndronen/followers","following_url":"https://api.github.com/users/ndronen/following{/other_user}","gists_url":"https://api.github.com/users/ndronen/gists{/gist_id}","starred_url":"https://api.github.com/users/ndronen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndronen/subscriptions","organizations_url":"https://api.github.com/users/ndronen/orgs","repos_url":"https://api.github.com/users/ndronen/repos","events_url":"https://api.github.com/users/ndronen/events{/privacy}","received_events_url":"https://api.github.com/users/ndronen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T15:09:23Z","updated_at":"2016-01-31T18:50:00Z","closed_at":null,"body":"It looks like TemporalConvolutionFB cannot be reliably dropped in to replace TemporalConvolution.  I created [gist:a8e13e5799b8118f7cc0](https://gist.github.com/ndronen/a8e13e5799b8118f7cc0) to demonstrate this.  A model that trains without error using TemporalConvolution dies when using TemporalConvolutionFB.  The error is \"std::invalid_argument: THCudaTensor dimension mismatch\".  Here's a typical stack trace:\r\n\r\n> stack traceback:\r\n>       [C]: in function 'TemporalConvolutionFB_updateOutput'\r\n>        ...h/install/share/lua/5.1/fbcunn/TemporalConvolutionFB.lua:46: in function 'updateOutput'\r\n>        ...ronen/proj/torch/install/share/lua/5.1/nn/Sequential.lua:29: in function 'forward'\r\n>        ./fbconverror.lua:61: in main chunk\r\n>        [C]: in function 'dofile'\r\n>        ...proj/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk\r\n>        [C]: at 0x00406670\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/fbcunn/issues/comments/177581785","html_url":"https://github.com/facebook/fbcunn/issues/62#issuecomment-177581785","issue_url":"https://api.github.com/repos/facebook/fbcunn/issues/62","id":177581785,"user":{"login":"octavian-ganea","id":5745926,"avatar_url":"https://avatars.githubusercontent.com/u/5745926?v=3","gravatar_id":"","url":"https://api.github.com/users/octavian-ganea","html_url":"https://github.com/octavian-ganea","followers_url":"https://api.github.com/users/octavian-ganea/followers","following_url":"https://api.github.com/users/octavian-ganea/following{/other_user}","gists_url":"https://api.github.com/users/octavian-ganea/gists{/gist_id}","starred_url":"https://api.github.com/users/octavian-ganea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octavian-ganea/subscriptions","organizations_url":"https://api.github.com/users/octavian-ganea/orgs","repos_url":"https://api.github.com/users/octavian-ganea/repos","events_url":"https://api.github.com/users/octavian-ganea/events{/privacy}","received_events_url":"https://api.github.com/users/octavian-ganea/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T18:50:00Z","updated_at":"2016-01-31T18:50:00Z","body":"I can confirm this is an issue for me as well. If I use nn.TemporalConvolution, everything works fine, but if I just replace the FB version of it, I get:\r\n\r\n`/local/home/ganeao/torch/install/bin/luajit: ...h/install/share/lua/5.1/fbcunn/TemporalConvolutionFB.lua:46: attempt to call field 'TemporalConvolutionFB_updateOutput' (a nil value)\r\nstack traceback:\r\n        ...h/install/share/lua/5.1/fbcunn/TemporalConvolutionFB.lua:46: in function 'updateOutput'\r\n        ...ome/ganeao/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'updateOutput'\r\n        .../ganeao/torch/install/share/lua/5.1/nn/ParallelTable.lua:12: in function 'func'\r\n        ...e/ganeao/torch/install/share/lua/5.1/nngraph/gmodule.lua:275: in function 'neteval'\r\n        ...e/ganeao/torch/install/share/lua/5.1/nngraph/gmodule.lua:310: in function 'forward'`"}}