Skip to content

A restricted Boltzmann Machine trained using Persistent Contrastive Divergence implemented with Pytorch.

Notifications You must be signed in to change notification settings

davidtranhq/pytorch-rbm

Repository files navigation

Restricted Boltzmann Machines

See the accompanying post for this model.

A restricted Boltzmann machine implemented with PyTorch. Trained with persistent contrastive divergence, momentum, and L2 weight decay. models/ contains the model parameters and the hyperparameters for a model trained on the MNIST dataset. The loss and generated examples for each model is pictured below.

Images generated from the model:

Generation

Images reconstructed from the model:

Reconstruction

L1 loss of the model

Loss

Visualization of the weights in random hidden units:

Weights

About

A restricted Boltzmann Machine trained using Persistent Contrastive Divergence implemented with Pytorch.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages