Train network on GPU

NeuPy is based on the Theano framework and it means that you can easily train neural networks with constructible architectures on GPU.

To learn more about how Theano works with GPU works, you can check this tutorial.

The simples way to train network on GPU is to run script with the following flag specified at the beginning of the command.

$ THEANO_FLAGS="device=cuda0" python

Where cuda0 is the name of your GPU device. Value can be different on different machines.