- The codes are meant to be run on a GPU.
- The default arguments for each codes are already set so that running the codes without argument will replicate the results shown in the paper.
- Install the dependencies contained in
requirements.txt
. Remember to install pytorch with GPU support, manually if necessary. - Create new folder called
data
and runextract_features_cifar10.py
. - Run the code on a GPU, e.g.:
CUDA_VISIBLE_DEVICES=0 python ml_cdn_mnist.py
. - Trained models will be saved in
models/{dataset}
directory. - Experiment results will be saved in
results/{dataset}
directory in Numpy format, i.e. usenp.load
to load the results.