Skip to content
/ USCL Public

This repository includes the constructed US-4 dataset and the code for USCL (PyTorch version).

License

Notifications You must be signed in to change notification settings

983632847/USCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USCL: Pretraining Deep Ultrasound Image Diagnosis Model through Video Contrastive Representation Learning

Accepted by MICCAI 2021 (Oral). [Paper Link]

This repository includes the constructed US-4 dataset and source codes (PyTorch version) of USCL, to appear in MICCAI 2021.

Abstract

Most deep neural networks (DNNs) based ultrasound (US) medical image analysis models use pretrained backbones (e.g., ImageNet) for better model generalization. However, the domain gap between natural and medical images causes an inevitable performance bottleneck. To alleviate this problem, an US dataset named US-4 is constructed for direct pretraining on the same domain. It contains over 23,000 images from four US video sub-datasets. To learn robust features from US-4, we propose an US semi-supervised contrastive learning method, named USCL, for pretraining. In order to avoid high similarities between negative pairs as well as mine abundant visual features from limited US videos, USCL adopts a sample pair generation method to enrich the feature involved in a single step of contrastive optimization. Extensive experiments on several downstream tasks show the superiority of USCL pretraining against ImageNet pretraining and other state-of-the-art (SOTA) pretraining approaches. In particular, USCL pretrained backbone achieves fine-tuning accuracy of over 94% on POCUS dataset, which is 10% higher than 84% of the ImageNet pretrained model. The constructed US-4 dataset and source codes of this work will be made public.

image

US-4 dataset

The US-4 dataset will be available at US-4.

We are reorganizing data and negotiating open source methods, and we will continue to open source after these were done.

image

Quick Start

Fine-tune with Pretrained Model

  1. Pick a model and its config file, for example, config.yaml
  2. Download the model best_model.pth
  3. Download the 5 fold cross validation POCUS dataset
  4. Run the demo with
python eval_pretrained_model.py

Our pretrained ResNet-18 model on US-4 dataset can be downloaded as following:

Name epochs Project head Classifier Accuracy download
ResNet-18 300 Yes Yes 94.19 model

This repository reports the fine-tuning accuracy (%) on POCUS dataset.

Train Your Own Model

  1. Download the Butterfly (Baidu pan Pwd:butt, Google drive) dataset
  2. Train the USCL model with
python run.py

Environment

The code is developed with an Intel Xeon Silver 4210R CPU @ 2.4GHz and a single Nvidia Tesla V100 GPU.

The install script has been tested on an Ubuntu 18.04 system.

☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️

License

Licensed under an MIT license.

Citation

If you find the code and dataset useful in your research, please consider citing:

@inproceedings{Chen2021MICCAI,
    title={USCL: Pretraining Deep Ultrasound Image Diagnosis Model through Video Contrastive Representation Learning},
    author = {Yixiong Chen, and Chunhui Zhang, and Li Liu, and Cheng Feng, and Changfeng Dong, and Yongfang Luo, and Xiang Wan},
    journal = {MICCAI},
    year = {2021}
  }


 @article{born2021accelerating,
    title={Accelerating detection of lung pathologies with explainable ultrasound image analysis},
    author={Born, Jannis and Wiedemann, Nina and Cossio, Manuel and Buhre, Charlotte and Br{\"a}ndle, Gabriel and Leidermann, Konstantin and Aujayeb, Avinash and Moor, Michael and Rieck, Bastian and Borgwardt, Karsten},
    journal={Applied Sciences},
    pages={672},
    year={2021},
    }


 @inproceedings{Somphone2014MICCAIW,
    author={O. Somphone, and S. Allaire, and B. Mory, and C. Dufour},
    title={Live Feature Tracking in Ultrasound Liver Sequences with Sparse Demons},
    booktitle = {International Conference on Medical Image Computing and Computer Assisted Intervention Workshop},
    pages = {53-60}, 
    year={2014},
  }

Contact

Feedbacks and comments are welcome! Feel free to contact us via andyzhangchunhui@gmail.com or 16307110231@fudan.edu.cn or liuli@cuhk.edu.cn.

Enjoy!

About

This repository includes the constructed US-4 dataset and the code for USCL (PyTorch version).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages