Modify mnist.py to output MNIST data in a format that libFANN can read natively. Try a quick and dirty network with FANN in mnist.c
Add network trained with fann.