Skip to content

Implementations of distributions and estimators for binary latent variables in Pytorch.

License

Notifications You must be signed in to change notification settings

eelcovdw/pytorch-binary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-binary

Distributions and estimators for binary latent variables in Pytorch.

The estimators only use the torch.distributions package, and can be used in any codebase without additional libraries. A simple experiment with a VAE on MNIST is included.

Available estimators:

  • Pathwise estimator
  • Score function estimator
  • ARM estimator
  • DisARM estimator

Future additions:

  • More binary relaxations
  • Control variates for SFE
  • Multi-sample estimates
  • Straight-through estimator

About

Implementations of distributions and estimators for binary latent variables in Pytorch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages