This is the official PyTorch implementation of Gaussian-Bernoulli RBMs Without Tears as described in the following paper:
@article{liao2022grbm,
title={Gaussian-Bernoulli RBMs Without Tears},
author={Liao, Renjie and Kornblith, Simon and Ren, Mengye and Fleet, David J and Hinton, Geoffrey},
journal={arXiv preprint arXiv:2210.10318},
year={2022}
}

Python 3, PyTorch(1.12.0). Other dependencies can be installed via pip install -r requirements.txt
X where X is one of {gmm_iso, gmm_aniso, mnist, fashionmnist, celeba, celeba2K}:python main.py -d X
Note:
config for the configuration jason files where most hyperparameters are self-explanatory.Gibbs, Langevin, Gibbs-LangevinX, it enables Metropolis adjustment from X-th to #CD-th steps data/celebaPlease consider citing our paper if you use this code in your research work.
Please submit a Github issue or contact rjliao@ece.ubc.ca if you have any questions or find any bugs.