Posts on Artificial Intelligence, Vision, Machine Learning, Robotics, Neuroscience, Consciousness, Philosophy of Mind and more!
Monday, November 8, 2010
Tutorial: handwritten digit recognition with convolutional neural networks
I recently added to my webpage a tutorial on how to use torch5 library to train a convolutional neural network for the task of handwritten digit recognition.
Hello,
ReplyDeleteHow 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:
ReplyDelete$ lua usps_cnn.lua
or
$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> dofile('usps_cnn.lua')