Giter Site home page Giter Site logo

dsa5204-project's Introduction

DSA5204 Project

This repository hosts the code for our NUS DSA5204 Project (AY 2023/2024 Semester 2), which aims to reproduce and extend the work done in Masked Autoencoders Are Scalable Vision Learners. This diagram shows the model architecture for the paper. The encoder is a ViT and decoder is a set of transformer blocks. alt text

Development Setup

Setting up environment

pip

To set up using pip, run the following:

cd <project_root>
pip install -r requirements.txt

Project Structure

.
├── src                         # Source code
│   ├── dataset                 # Dataloaders
│   ├── checkpoints             # To put reproduction weights in this folder
│   ├── model                   # Model architectures
│   ├── utilities               # Utility functions
│   └── scripts                 # Training, Evaluation scripts  
├── inference_notebook_examples # Quick look on our model inference results after training
├── .gitignore
├── README.md
└── requirements.txt

Datasets

We make use of the following datasets:

Results

Reproduction of paper results using TinyImageNet dataset. Example results of image reconstruction of TinyImageNet data using MAE architecture. For each triplet, the leftmost image displays the base image, the middle image displays the input data and the rightmost image displays the reconstructed image. alt text

Extension 1: Time Series forecast. The smoothed models’ forecast predictions on the test dataset is shown. A smoothing window has been applied using a moving average with a window size of 20 timesteps. This results in plots that only capture the general trend. alt text

Extension 2: 2D Segmentation. Example results of the models conducting semantic segmentation. MAE pretraining shows improvement over no MAE pretraining. alt text

Extension 3: 3D Segmentation. Example 3D Segmentation result. MAE pretraining shows improvement over no MAE pretraining. alt text

Extension 4: Data Imputation. Training loss over epochs comparison. MAE shows unstable training and eventually poorer results compared to no MAE. alt text

Model weights

Trained model weights can be accessed via this Google drive link: https://drive.google.com/drive/u/0/folders/1oI8RIMEDl6vOW0-mutafXjPSTByXshNO

References

dsa5204-project's People

Contributors

liawzhengkai avatar haidiazaman avatar tzejit avatar uxinnn avatar sweetpotato0213 avatar mattchia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.