Completing pre-training will save the network's weight in the "stored" folder (which will be created if does not already exist)
Unsupervised pre-training on the Tiny ImageNet using the DIM framework (https://arxiv.org/abs/1808.06670)
python pre_train_DIM.py
Unsupervised pre-training on the Tiny ImageNet using the denoising-AE
python pre_train_dAE.py
Supervised training on the CIFAR10
python fine_tune_cifar10.py
The data structure should look like this. The cifar10 folder will create itself upon running any of the training scripts. We need to create the imagenet_tiny structure ourselves based using the "image_tensor.bin" file provided in the assignment description.
├── data
│ ├──imagenet_tiny
│ │ ├── image_tensor.bin
│ ├──cifar10
└── ...
The DIM pre-training uses the pytorch DIM implementation from https://github.com/DuaneNielsen/DeepInfomaxPytorch