This project was carried out within the framework of the course DD2412 Advanced Deep Learning at KTH, Stockholm. In this project we aim to reproduce the work described in the paper Masked Autoencoders Are Scalable Vision Learners with the JAX library in Python.
The necessary libraries to run the code are Jax
, Flax
and Tensorflow-datasets
.
The main_pretrain.py
file can be used to run the pretraining of the model and save that model at the end. Then, the main_mae_classification.py
file can be used to start the fine-tuning of a pre-trained MAE model. Finally, the files test_mae.py
(resp. test_mae_classification.py
) can be used to run a pre-trained model (resp. fine-tuned model) on a set of images from the train and test sets.
Project members: