Skip to content

Instantly share code, notes, and snippets.

@hughperkins
Created August 21, 2016 11:18
Show Gist options
  • Select an option

  • Save hughperkins/1f96db6bc5f946c4cad91b3e48ee9914 to your computer and use it in GitHub Desktop.

Select an option

Save hughperkins/1f96db6bc5f946c4cad91b3e48ee9914 to your computer and use it in GitHub Desktop.
View
Function call failed
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:257: First argument should be a Table
stack traceback:
[C]: in function 'assert'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:257: in function 'assertTableEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4335: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4324>
[C]: in function 'xpcall'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:477: in function '_pcall'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:437: in function '_run'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:356: in function 'run'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:5394: in function 'test'
(command line):1: in main chunk
[C]: at 0x00405d50
--------------------------------------------------------------------------------
Reshape
Function call failed
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:257: First argument should be a Table
stack traceback:
[C]: in function 'assert'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:257: in function 'assertTableEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4391: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4380>
[C]: in function 'xpcall'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:477: in function '_pcall'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:437: in function '_run'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:356: in function 'run'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:5394: in function 'test'
(command line):1: in main chunk
[C]: at 0x00405d50
--------------------------------------------------------------------------------
Should use TestSuite rather than plain lua table
--------------------------------------------------------------------------------
ConcatTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:17: in function 'equal'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4498: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4457>
--------------------------------------------------------------------------------
ConcatTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:17: in function 'equal'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4498: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4457>
--------------------------------------------------------------------------------
ConcatTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:17: in function 'equal'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4498: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4457>
--------------------------------------------------------------------------------
tostringnnSpatialZeroPadding
:assert should only be used for boolean conditions. To check for non-nil variables, do this explicitly: Tester:assert(var ~= nil).
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:130: in function 'assert'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:33: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:32>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4166: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4179: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4195: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4208: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4224: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4240: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4250: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4258: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
MixtureTable
Tensors have the same content but different dimensions. For backwards compatability, they are considered equal, but this may change in the future. Consider using :eq to check for equality instead.
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:239: in function 'assertTensorEq'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4274: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:4154>
--------------------------------------------------------------------------------
tostringnnReshape
:assert should only be used for boolean conditions. To check for non-nil variables, do this explicitly: Tester:assert(var ~= nil).
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:130: in function 'assert'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:33: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:32>
--------------------------------------------------------------------------------
tostringnnLinear
:assert should only be used for boolean conditions. To check for non-nil variables, do this explicitly: Tester:assert(var ~= nil).
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:130: in function 'assert'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:33: in function </home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:32>
--------------------------------------------------------------------------------
luajit: ...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:364: An error was found while running tests!
stack traceback:
[C]: in function 'assert'
...e/ubuntu/torch-cl/install/share/lua/5.1/torch/Tester.lua:364: in function 'run'
/home/ubuntu/torch-cl/install/share/lua/5.1/nn/test.lua:5394: in function 'test'
(command line):1: in main chunk
[C]: at 0x00405d50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment