Modification of original implementation of code from Poon,Domingos, Sum-Product Network: a New Deep Architecture, UAI 2011 at http://spn.cs.washington.edu/spn/, for SPN MNIST missing data experiments.
- Generate MNIST data for training by running
python data/generate_mnist.py
(path to raw MNIST data assumes that https://github.com/HUJI-Deep/Generative-ConvACs/blob/master/exp/mnist/generate_mnist.py has already been run). - Follow setup instructions from original code, then compile from
code
folder usingjavac -cp .:$MPJ_HOME/lib/mpj.jar -d bin @source.txt
- From the
bin
folder, runmpjrun.sh -np <NUM_PROCS> eval.Run -d M -nsg 1 -ns <NUM_PROCS-1> > ../../results/mnist_run.log
whereNUM_PROCS
is the number of processors available.