Git Product home page Git Product logo

vitasd's Introduction

[ICASSP 2023] ViTASD: Robust Vision Transformer Baselines for Autism Spectrum Disorder Facial Diagnosis

Official PyTorch Implementation

Shenzhen Children's Hospital
New York University

Abstract

Autism spectrum disorder (ASD) is a lifelong neurodevelopmental disorder with very high prevalence around the world. Research progress in the field of ASD facial analysis in pediatric patients has been hindered due to a lack of well-established baselines. In this paper, we propose the use of the Vision Transformer (ViT) for the computational analysis of pediatric ASD. The presented model, known as ViTASD, distills knowledge from large facial expression datasets and offers model structure transferability. Specifically, ViTASD employs a vanilla ViT to extract features from patients' face images and adopts a lightweight decoder with a Gaussian Process layer to enhance the robustness for ASD analysis. Extensive experiments conducted on standard ASD facial analysis benchmarks show that our method outperforms all of the representative approaches in ASD facial analysis, while the ViTASD-L achieves a new state-of-the-art.

Attention for ASD Children

Dataset

Publicly available datasets were analyzed in this study. The original data page can be found at: Kaggle. The author update the dataset to a new Google Drive

Other useful dataset for computer vision in Autism Spectrum Disorder detection:

DE-ENIGMA Dataset
Saliency4ASD dataset

We will expand the research for these datasets in the future. And we are also trying to build a new benchmark for ASD facial diagnosis using many new datasets in Shenzhen's children. Any news for this benchmark will be updated to this Github repo until we publish the competition. This project will create a completely non-profit platform for ASD early intervention around the world.

Model

NetWork_Architecture

Pre-trained in AffectNet Dataset

python train_affectnet.py fit -c ./configs/config_affectnet_base.yaml
python train_affectnet.py fit -c ./configs/config_affectnet_large.yaml

Training

python train.py fit -c ./configs/config_vitasd_small.yaml
python train.py fit -c ./configs/config_vitasd_base.yaml
python train.py fit -c ./configs/config_vitasd_large.yaml

Monitoring the training ('X' is S, B, or L)

tensorboard --logdir=./lightning_logs/ViTASD-'X'

Evaluation

pending

vitasd's People

Contributors

irohxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vitasd's Issues

ResNetASD is missing

In 6th line of train_affectnet.py,
from models import ViTASD, ResNetASD
where ResNetASD is missing.

train_affectnet.py Pretrained path

I have successfully run your code. But the accuracy is very different from your paper.
What should I use as a pre-trained model path in pretrain_path: str = "" in train_affectnet.py line no: 40 ?

Missing lib.pos_embed?

In 7th line of train.py, from lib.pos_embed import interpolate_pos_embed, where lib.pos_embed is missing.

Pretraining on Affectnet dataset

Hi, I hope you are doing well. I wanted to first congratulate you on this well maintained repository. I had a little question regarding pretraining the ViT on affectnet dataset. Does this repository only contains the code for pretraining the ViT on Affectnet in supervised way?

Is this repository complete?

I tried several times to run the complete code as per your instructions, but unable to run it. Some functions are missing. Can you provide me with the complete code?
It would be very helpful.

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.