tree: 8cd9602b2e5ae141267318245c7549f2ee3ac6af [path history] [tgz]
  1. README.md
  2. train.py
examples/mnist/README.md

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 train.py 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 train.py mnist.pkl.gz --use_gpu