In this repository, we provide the source code for the Coded-InvNet method.
Here is an example of the script on MNIST, using i-ResNet-64 for the invertible network and PixPix for the fusion network, with k=2.
python ./main.py --config_file configs/mnist.json
python ./main.py --config_file configs/mnist.json -fusion --nactors 2 -sample_fusion
python ./main.py --config_file configs/mnist.json -fusion --nactors 2
python ./main.py --config_file configs/mnist.json -fusion --nactors 2 -test_fusion
Credit: we make use of the code from i-ResNet, i-RevNet and Pix2Pix for our models.