Code Monkey home page Code Monkey logo

liver's Introduction

EchoNet-Liver : Highthroughput approach for detecting chronic liver disease using echocardiography

Chronic liver disease affects 1.5 billion people worldwide, often leading to severe health outcomes. Despite increasing prevalence, most patients remain undiagnosed. Various screening methods (like CT, MRI and liver biopsy) exist, but barriers like cost and availability limit their use.

Echocardiography, widely used in the clinic and tertialy center, can provide valuable information about liver tissue through subcostal views as well as cardiac structures. Deep learning applied to these echocardiographic images have been developed to detect cardiovascular diseases and predict disease progression. Echo-Net-Liver, a deep-learning algorithm pipeline, is developed to identify chronic liver disease (particularly steatotic liver disease (SLD) and cirrhosis), using subcostal echocardiographic images. Opportunistic liver disease screening using AI-guided echocardiography may contribute to early detection and patient care by utilizing existing procedures.

EchoNet-Liver Pipeline

Presentation: Conference information will be updated.

Preprint: link will be added once preprint is released

Prerequisites

  1. Python: we used 3.10.12
  2. PyTorch we used pytorch==2.2.0
  3. Other dependencies listed in requirements.txt

Installation

First, clone the repository and install the required packages:

Quickstart for inference

git clone https://github.com/echonet/liver.git
cd EchoNet-Liver
pip install -r requirements.txt

There are three models for Echo-Net Liver pipeline

  1. View-classification model
  2. Quality-control model
  3. Disease-Detection-Model (cirrhosis model and SLD model)

you can get all four pretrained model in this repo (See prettrained_models)

All you need to prepare is

  • Dataset (112*112 avi video, all echocardiography views)

  • Manifest file (that include filename, label etc)
    See sample_manifest_step1_and_2.csv (classify_high_quality_subcostal_videos.py) and sample_manifest_step_liver_disease.csv (for predict.py)

  • 480-640 subcostal echocardiography videos. (corresponding file name should be in output csv from Step 1and2 ) For disease detection model (DenseNet), we used 480-640, not 112-112.

In your environment, run this to classify high-quality subcostal. please modify sample_manifest_step1_and_2.csv to your dataset manifest

python classify_high_quality_subcostal_videos.py --dataset YOUR DATASET PATH --manifest_path YOURMANIFEST PATH.csv

Then, you need run below to Predict Cirrhosis or SLD (predict.py). Then you can calculate AUC in your dataset.

python predict.py --dataset YOUR HIGH-QUALITY-SUBCOSTAL-480640 DATASET --label (SLD OR cirrhosis)

Fin.

liver's People

Contributors

yukisahashi avatar

Stargazers

 avatar

Watchers

 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.