I'm new to Torch and would like to load some images from two directories (one for each label). I'm trying to build a convolutional neural network that will classify images as belonging to one class or another (i.e. a binary classifier) but I am unsure how load images, label those images and get the data into the correct format. I'm using the following tutorial, however the training data is loaded in a different way which I am not familiar with.
http://code.madbits.com/wiki/doku.php?id=tutorial_supervised
Hope someone can help me get started and point me in the right direction.
Many thanks in advance.