torch / image

An Image toolbox for Torch.
Other
208 stars 141 forks source link

Unit test failure #224

Closed cdluminate closed 5 years ago

cdluminate commented 7 years ago
Completed 74 asserts in 41 tests with 0 failures and 2 errors
--------------------------------------------------------------------------------
LoadPNG
 Function call failed
/usr/share/lua/5.1/image/init.lua:156: [read_png] Error during init_io: IDAT: chunk data is too large
stack traceback:
    [C]: in function 'load'
    /usr/share/lua/5.1/image/init.lua:156: in function 'loader'
    /usr/share/lua/5.1/image/init.lua:388: in function 'load'
    /usr/share/lua/5.1/image/test.lua:538: in function 'checkPNG'
    /usr/share/lua/5.1/image/test.lua:549: in function </usr/share/lua/5.1/image/test.lua:546>
    [C]: in function 'xpcall'
    /usr/share/lua/5.1/torch/Tester.lua:477: in function '_pcall'
    /usr/share/lua/5.1/torch/Tester.lua:436: in function '_run'
    /usr/share/lua/5.1/torch/Tester.lua:355: in function 'run'
    /usr/share/lua/5.1/image/test.lua:708: in function 'test'
    [string "_RESULT={image.test()}"]:1: in main chunk
    [C]: in function 'xpcall'
    /usr/share/lua/5.1/trepl/init.lua:661: in function 'repl'
    /usr/lib/torch-trepl/th:203: in main chunk
    [C]: at 0x55d7730e01d0

--------------------------------------------------------------------------------
DecompressPNG
 Function call failed
/usr/share/lua/5.1/image/init.lua:156: [read_png] Error during init_io: IDAT: chunk data is too large
stack traceback:
    [C]: in function 'load'
    /usr/share/lua/5.1/image/init.lua:156: in function 'loader'
    /usr/share/lua/5.1/image/init.lua:388: in function 'load'
    /usr/share/lua/5.1/image/test.lua:578: in function </usr/share/lua/5.1/image/test.lua:576>
    [C]: in function 'xpcall'
    /usr/share/lua/5.1/torch/Tester.lua:477: in function '_pcall'
    /usr/share/lua/5.1/torch/Tester.lua:436: in function '_run'
    /usr/share/lua/5.1/torch/Tester.lua:355: in function 'run'
    /usr/share/lua/5.1/image/test.lua:708: in function 'test'
    [string "_RESULT={image.test()}"]:1: in main chunk
    [C]: in function 'xpcall'
    /usr/share/lua/5.1/trepl/init.lua:661: in function 'repl'
    /usr/lib/torch-trepl/th:203: in main chunk
    [C]: at 0x55d7730e01d0

--------------------------------------------------------------------------------
/usr/share/lua/5.1/torch/Tester.lua:363: An error was found while running tests!
stack traceback:
    [C]: in function 'assert'
    /usr/share/lua/5.1/torch/Tester.lua:363: in function 'run'
    /usr/share/lua/5.1/image/test.lua:708: in function 'test'
    [string "_RESULT={image.test()}"]:1: in main chunk
    [C]: in function 'xpcall'
    /usr/share/lua/5.1/trepl/init.lua:661: in function 'repl'
    /usr/lib/torch-trepl/th:203: in main chunk
    [C]: at 0x55d7730e01d0  
HaojieYuan commented 6 years ago

Same problems as yours, any solution?