Skip to content

katalinic/bbans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff757d9 · Sep 23, 2019

History

14 Commits
Sep 15, 2019
Sep 13, 2019
Sep 15, 2019
Sep 23, 2019
Sep 14, 2019
Sep 15, 2019
Sep 15, 2019
Sep 8, 2019
Sep 14, 2019
Sep 15, 2019

Repository files navigation

bb-ans

TF BB-ANS.

TensorFlow implementation of Bits Back with ANS by Townsend et al.

Presently, only the binarised MNIST version is provided. The implementation draws inspiration from the authors' code.

Both ELBO and compressed message length are ~0.17 bits per pixel (with perfect reconstruction).

To train the model:

$ python3 train.py -t

To evaluate the model:

$ python3 train.py

To run compression and decompression on e.g. 100 images:

$ python3 demo.py -n 100

About

TF Bits-Back w ANS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages