{"action":"closed","issue":{"url":"https://api.github.com/repos/Element-Research/rnn/issues/69","labels_url":"https://api.github.com/repos/Element-Research/rnn/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/Element-Research/rnn/issues/69/comments","events_url":"https://api.github.com/repos/Element-Research/rnn/issues/69/events","html_url":"https://github.com/Element-Research/rnn/issues/69","id":120634482,"number":69,"title":"Unit test fails.","user":{"login":"jnhwkim","id":1910051,"avatar_url":"https://avatars.githubusercontent.com/u/1910051?v=3","gravatar_id":"","url":"https://api.github.com/users/jnhwkim","html_url":"https://github.com/jnhwkim","followers_url":"https://api.github.com/users/jnhwkim/followers","following_url":"https://api.github.com/users/jnhwkim/following{/other_user}","gists_url":"https://api.github.com/users/jnhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/jnhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnhwkim/subscriptions","organizations_url":"https://api.github.com/users/jnhwkim/orgs","repos_url":"https://api.github.com/users/jnhwkim/repos","events_url":"https://api.github.com/users/jnhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/jnhwkim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T13:25:22Z","updated_at":"2015-12-06T18:44:54Z","closed_at":"2015-12-06T18:44:54Z","body":"The current repository fdc3b21515038a214e1ce8232c1d61b7a6acee38 has issues in unit test.\r\n\r\n```\r\n$ th -lrnn -e \"dofile('test/test.lua'); rnn.test()\"\r\nRunning 18 tests\r\n________*_____**__  ==> Done Completed 1876 asserts in 18 tests with 22 errors\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\nRecurrence fwd err 2\r\n TensorEQ(==) violation   val=0.1917265403829, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:2134: in function <test/test.lua:2105>\r\n\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\nRecurrence fwd err 3\r\n TensorEQ(==) violation   val=0.18550556665035, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:2134: in function <test/test.lua:2105>\r\n\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\nRecurrence bwd err 1\r\n TensorEQ(==) violation   val=0.19031328301695, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:2141: in function <test/test.lua:2105>\r\n\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\nRecurrence bwd err 2\r\n TensorEQ(==) violation   val=0.12799707568363, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:2141: in function <test/test.lua:2105>\r\n\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\nRecurrence bwd err 3\r\n TensorEQ(==) violation   val=0.16196581750727, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:2141: in function <test/test.lua:2105>\r\n\r\n--------------------------------------------------------------------------------\r\nRecurrence\r\n Function call failed\r\n...rs/Calvin/torch/install/share/lua/5.1/rnn/Recurrence.lua:167: expecting at least one updateOutput\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t...rs/Calvin/torch/install/share/lua/5.1/rnn/Recurrence.lua:167: in function 'updateGradInputThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:107: in function 'backwardUpdateThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:120: in function 'updateParameters'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'func'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:25: in function 'applyToModules'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'updateParameters'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:117: in function 'updateParameters'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'func'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:25: in function 'applyToModules'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'updateParameters'\r\n\ttest/test.lua:2144: in function <test/test.lua:2105>\r\n\t[C]: in function 'xpcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:115: in function 'pcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:186: in function '_run'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:161: in function 'run'\r\n\ttest/test.lua:2399: in function 'test'\r\n\t[string \"dofile('test/test.lua'); rnn.test()\"]:1: in main chunk\r\n\t[C]: in function 'pcall'\r\n\t...lvin/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:117: in main chunk\r\n\t[C]: at 0x0101c582f0\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) bwd err 1\r\n TensorEQ(==) violation   val=0.0055855133430601, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1955: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) fwd err 2\r\n TensorEQ(==) violation   val=0.20695973077736, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1954: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) bwd err 2\r\n TensorEQ(==) violation   val=0.063109996521219, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1955: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) fwd err 3\r\n TensorEQ(==) violation   val=0.18835985089823, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1954: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) bwd err 3\r\n TensorEQ(==) violation   val=0.087992354034426, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1955: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) fwd err 4\r\n TensorEQ(==) violation   val=0.20735178234061, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1954: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) bwd err 4\r\n TensorEQ(==) violation   val=0.062143137089905, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1955: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) fwd err 5\r\n TensorEQ(==) violation   val=0.21002205166161, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1954: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\nRecursor(Recurrent) bwd err 5\r\n TensorEQ(==) violation   val=0.072276017437007, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1955: in function <test/test.lua:1905>\r\n\r\n--------------------------------------------------------------------------------\r\nRecursor\r\n Function call failed\r\n/Users/Calvin/torch/install/share/lua/5.1/rnn/Recurrent.lua:148: expecting at least one updateOutput\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/rnn/Recurrent.lua:148: in function 'updateGradInputThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:107: in function 'backwardUpdateThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:120: in function 'updateParameters'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'func'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:25: in function 'applyToModules'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'updateParameters'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:117: in function 'updateParameters'\r\n\ttest/test.lua:1958: in function <test/test.lua:1905>\r\n\t[C]: in function 'xpcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:115: in function 'pcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:186: in function '_run'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:161: in function 'run'\r\n\ttest/test.lua:2399: in function 'test'\r\n\t[string \"dofile('test/test.lua'); rnn.test()\"]:1: in main chunk\r\n\t[C]: in function 'pcall'\r\n\t...lvin/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:117: in main chunk\r\n\t[C]: at 0x0101c582f0\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\nRepeater(Recursor) output err\r\n TensorEQ(==) violation   val=0.17625401664154, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1136: in function <test/test.lua:1078>\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\nRepeater(Recursor) output err\r\n TensorEQ(==) violation   val=0.18676221856625, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1136: in function <test/test.lua:1078>\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\nRepeater(Recursor) output err\r\n TensorEQ(==) violation   val=0.18772510482446, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1136: in function <test/test.lua:1078>\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\nRepeater(Recursor) output err\r\n TensorEQ(==) violation   val=0.18784248574533, condition=1e-07\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1136: in function <test/test.lua:1078>\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\nRepeater(Recursor) gradInput err\r\n TensorEQ(==) violation   val=0.073757910583675, condition=1e-06\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'\r\n\ttest/test.lua:1138: in function <test/test.lua:1078>\r\n\r\n--------------------------------------------------------------------------------\r\nRepeater\r\n Function call failed\r\n/Users/Calvin/torch/install/share/lua/5.1/rnn/Recurrent.lua:148: expecting at least one updateOutput\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/rnn/Recurrent.lua:148: in function 'updateGradInputThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:107: in function 'backwardUpdateThroughTime'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:120: in function 'updateParameters'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'func'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:25: in function 'applyToModules'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'updateParameters'\r\n\t...in/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:117: in function 'updateParameters'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'func'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:25: in function 'applyToModules'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/nn/Container.lua:34: in function 'updateParameters'\r\n\ttest/test.lua:1141: in function <test/test.lua:1078>\r\n\t[C]: in function 'xpcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:115: in function 'pcall'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:186: in function '_run'\r\n\t/Users/Calvin/torch/install/share/lua/5.1/torch/Tester.lua:161: in function 'run'\r\n\ttest/test.lua:2399: in function 'test'\r\n\t[string \"dofile('test/test.lua'); rnn.test()\"]:1: in main chunk\r\n\t[C]: in function 'pcall'\r\n\t...lvin/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:117: in main chunk\r\n\t[C]: at 0x0101c582f0\r\n\r\n--------------------------------------------------------------------------------'''"}}