torch / demos

Demos and tutorials around Torch7.
355 stars 301 forks source link

train-a-digit-classifier demo fails #14

Closed synchro-- closed 9 years ago

synchro-- commented 9 years ago

when trying to run the above mentioned demo the output error is this :

/usr/local/bin/luajit: /usr/local/share/lua/5.1/torch/File.lua:232: read error: read 30329738 blocks instead of 61440000 stack traceback: [C]: in function 'read' /usr/local/share/lua/5.1/torch/File.lua:232: in function </usr/local/share/lua/5.1/torch/File.lua:163> [C]: in function 'read' /usr/local/share/lua/5.1/torch/File.lua:232: in function 'readObject' /usr/local/share/lua/5.1/torch/File.lua:248: in function 'readObject' /usr/local/share/lua/5.1/torch/File.lua:271: in function 'load' ./dataset-mnist.lua:30: in function 'loadTrainSet' backup.lua:149: in main chunk [C]: in function 'dofile' /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:129: in main chunk [C]: at 0x004061d0

Thank you

soumith commented 9 years ago

you must have some old files in the directory. i fixed all the demos recently to not have errors. (also just checked that this demo works).

Can you try cloning demos into a fresh folder and running this again?

soumith commented 9 years ago

open the issue if you have a problem again

synchro-- commented 9 years ago

Ok thank You , I suspected it. Now I'm out, but later I'll let you know about it. Thx again