VIB-pytorch
VIB-pytorch copied to clipboard
Pytorch implementation of Deep Variational Information Bottleneck
Deep Variational Information Bottleneck
Overview
Pytorch implementation of Deep Variational Information Bottleneck(paper, original code)
Dependencies
python 3.6.4
pytorch 0.3.1.post2
tensorboardX(optional)
tensorflow(optional)
Usage
- train
python main.py --mode train --beta 1e-3 --tensorboard True --env_name [NAME]
- test
python main.py --mode test --env_name [NAME] --load_ckpt best_acc.tar
References
- Deep Learning and the Information Bottleneck Principle, Tishby et al.
- Deep Variational Information Bottleneck, Alemi et al.
- Tensorflow Demo : https://github.com/alexalemi/vib_demo