Skip to content
/ LMD Public

The official implementations of CIBM paper: Long-tailed Medical Diagnosis with Relation-aware Representation Learning and Iterative Classifier Calibration

Notifications You must be signed in to change notification settings

peterlipan/LMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LMD

This is the official repository of our paper Long-tailed Medical Diagnosis with Relation-aware Representation Learning and Iterative Classifier Calibration

framework

We improved the decoupling method for balanced medical image classification on long-tailed datasets as follows:

framework

Pipeline

  1. Create a conda environment using the requirements file.
conda env create -n env_name -f environment.yaml
conda activate env_name
  1. Download the ISIC2019LT, ISIC Archive, and Hyper-Kvasir by running the following scripts:
bash prepare_datasets/ISIC2019LT/download_ISIC2019LT.sh
bash prepare_datasets/ISIC_Archive/download_isic_archive.sh
bash prepare_datasets/hyper-kvasir/download_hyper_kvasir.sh
  1. Modify the parameters in the yaml files under the folder config.

  2. Run the first and second stage of the LMD:

python stage1.py --config config/isic2019.yaml
python stage2.py --config config/isic2019.yaml

Illustrations

tsne1 tsne2 As shown above, the LMD framework is capable of generating rich and balanced representations for long-tailed medical image classification.

Citation

About

The official implementations of CIBM paper: Long-tailed Medical Diagnosis with Relation-aware Representation Learning and Iterative Classifier Calibration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published