The implementation codes of Flexible Variational Information Bottleneck: Achieving Diverse Compression with a Single Training.
See demo.ipynb
for simple description of the usage.
The file utils.py
contains functions for the learning.
The file fvib.py
contains modules for FVIB and VIB.
The file loss.py
contains loss functions for FVIB, VIB and the Taylor approximaition of the VIB objective.
The file calibration.py
contains a module for continuous optimization of
If you find this library useful please consider citing our paper.