The source code for continuous transfer learning on a source domain (SVHN) and a time evolving target domain (MNIST) is provided here.

Dependencies:
Python 3.6
numpy==1.18.1
sklearn==0.22.1
scikit-image==0.16.2
torch===1.4.0
torchvision===0.5.0
tensorflow-gpu==1.14.0

For continuous transfer learning on image data set, please run
python main.py

For evaluation of C-divergence on synthetic data set, please run
pyhton main_div.py

BaseAttackModel: lenet_mnist_model.pth is the base model for generating the time evolving target domain (MNIST).
data: SVHN and SVHN, downloaded from torchvision