Giter Site home page Giter Site logo

jaebincha7 / age-estimation-using-12-lead-ecg-based-on-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 671 KB

In this project, we introduce a deep learning-based model for predicting age from 12-lead ECG data.

License: MIT License

Python 100.00%
12-lead-ecg age age-prediction classification cnn deep-learning densenet dnn ecg ecg-signal

age-estimation-using-12-lead-ecg-based-on-deep-learning's Introduction

Age Estimation Using 12-Lead ECG Based on Deep Learning

Introduction:

This project participated in the MAIC ECG AI Challenge 2023, which was centered around the development of age prediction models using electrocardiogram (ECG) data. The project achieved impressive results, solely relying on a deep learning network without any additional data or preprocessing. https://maic.or.kr/competitions/26/infomation

Architecture

Project Structure:

  • main

    options.py: Experimental environment settings. train_inferface.py: Deep learning model training. test_interface.py: Performance inference of the trained model.

  • dataloader

    dataloader.py: Generation of data csv files and data loader.

  • dataset

    train_dataset_adult.csv: Training data for adults. train_dataset_child.csv: Training data for children. valid_dataset_adult.csv: Validation data for adults. valid_dataset_child.csv: Validation data for children. Note: The provided data was divided into training and validation at a 9:1 ratio.

  • log

    ResDenseNet_0923_adult: Logs and weights for the adult age estimation model. ResUDenseNet_0922_child: Logs and weights for the child age estimation model.

  • models

    ResDenseNet.py: Network for adult age estimation. ResUDenseNet.py: Network for child age estimation.

  • score

    Outputs from test_interface.py are saved in the submission.csv file.

  • utils

    model_init.py: Definition of the network, Trainer, and Loss function. progress.py: Functions for training, data loading related functions. tensorboard.py: TensorBoard-related functions. trainer: Training and validation trainer.

Usage

  • Setting up option.py

    Configure the data path in option.py.

  • Running train_interface.py

    Execute train_interface.py to generate the required csv files. These csv files map the paths to .npy files with their corresponding target age values.

    If you wish to train:

    • python train_interface.py --mode='adult' --env='0923_adult' --arch='ResDenseNet'
    • python train_interface.py --mode='child' --env='0923_child' --arch='ResUDenseNet'
  • Executing test_interface.py

    In option.py, the path to the best-performing weight is already set.

    Run the command:

    • python test_interface.py

References

[1] Hwang, Seorim, et al. "Multi-Label Abnormality Classification from 12-Lead ECG Using A 2D Residual U-Net." ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2024. [paper] [code]
[2] Hwang, Seorim, et al. "Multi-label ECG Abnormality Classification Using A Combined ResNet-DenseNet Architecture with ResU Blocks." 2023 IEEE EMBS Special Topic Conference on Data Science and Engineering in Healthcare, Medicine and Biology. IEEE, 2023. [paper] [code]

Contact

E-mail: [email protected]

age-estimation-using-12-lead-ecg-based-on-deep-learning's People

Contributors

jaebincha7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cwinjet

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.