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.

2 comments:

  1. 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

    ReplyDelete
  2. 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')

    ReplyDelete