Torch7: Error in function 'read'

Created on 23 Nov 2017  路  2Comments  路  Source: torch/torch7

When I ran the lua file ,I met a error like this :

/home/wxq/torch/install/bin/luajit: /home/wxq/torch/install/share/lua/5.1/torch/File.lua:351: read error: read 1843830 blocks instead of 2359296 at /home/wxq/torch/pkg/torch/lib/TH/THDiskFile.c:364
stack traceback:
[C]: in function 'read'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:351: in function
[C]: in function 'read'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/wxq/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
test.lua:51: in main chunk
[C]: in function 'dofile'
.../wxq/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

How should I solve them ? Please help me! Thanks!

Most helpful comment

maybe your model is broken.

All 2 comments

maybe your model is broken.

OK, Thanks for your help! @Naruto-Sasuke

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucasarb picture lucasarb  路  3Comments

suice07 picture suice07  路  5Comments

sefira picture sefira  路  4Comments

visonpon picture visonpon  路  3Comments

hanbim520 picture hanbim520  路  5Comments