This example is to train a RBM model over the MNIST dataset using SINGA Python Tensor APIs. The RBM model and its hyper-parameters are set following Hinton's paper
Download the pre-processed MNIST dataset
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