Train a RBM model against MNIST dataset

This example is to train an RBM model using the MNIST dataset. The RBM model and its hyper-parameters are set following Hinton’s paper

Running instructions

  1. Download the pre-processed MNIST dataset

  2. Start the training

     python mnist.pkl.gz

By default the training code would run on CPU. To run it on a GPU card, please start the program with an additional argument

    python mnist.pkl.gz --use_gpu