I recently added to my github account some example code on how to use torch5 library to train a convolutional neural network for the task of handwritten digit recognition.
Feel free to fork it and play around with it.
I recently added to my github account some example code on how to use torch5 library to train a convolutional neural network for the task of handwritten digit recognition.
Feel free to fork it and play around with it.
Hello,
How do I run your code? I tried:
$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> usps_cnn.lua
>> main
stdin:2: '=' expected near 'main'
>
but when I run the main it gives me error. What am I doing wrong?
Thanks,
Silvio Filipe
You should invoke it from the command line as:
$ lua usps_cnn.lua
or
$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> dofile('usps_cnn.lua')