MedKLIP
The official code for MedKLIP: Medical Knowledge Enhanced Language-Image Pre-Training in Radiology. We propose to leverage medical specific knowledge enhancing language-image pre-training method, significantly advancing the ability of pre-trained models to handle unseen diseases on zero-shot classification and grounding tasks.
Install / Use
/learn @MediaBrain-SJTU/MedKLIPREADME
MedKLIP: Medical Knowledge Enhanced Language-Image Pre-Training in Radiology
Introduction:
The official implementation code for "MedKLIP: Medical Knowledge Enhanced Language-Image Pre-Training in Radiology".
Quick Start:
Check checkpoints dir to download our pre-trained model. It can be used for all zero-shot && finetuning tasks
-
Zero-Shot Classification:
We give an example on CXR14 in
Sample_Zero-Shot_Classification_CXR14. Modify the path, and test our model bypython test.py -
Zero-Shot Grounding:
We give an example on RSNA_Pneumonia in
Sample_Zero-Shot_Grounding_RSNA. Modify the path, and test our model bypython test.py -
Finetuning:
We give segmentation and classification finetune code on SIIM_ACR dataset in
Sample_Finetuning_SIIMACR. Modify the path, and finetune our model bypython I1_classification/train_res_ft.pyorpython I2_segementation/train_res_ft.py
Pre-train:
Our pre-train code is given in Train_MedKLIP.
- Check the
Train_MedKLIP\data_filedir and download the pre-processed data files. - Modify the path as you disire, and
python PreTrain_MedKLIP\train_MedKLIP.pyto pre-train.
Acknowledge
We borrow some pre-process codes from AGXnet
Citation
@article{wu2023medklip,
title={MedKLIP: Medical Knowledge Enhanced Language-Image Pre-Training},
author={Wu, Chaoyi and Zhang, Xiaoman and Zhang, Ya and Wang, Yanfeng and Xie, Weidi},
journal={Proceedings of the IEEE/CVF International Conference on Computer Vision},
year={2023}
}
Contact
If you have any question, please feel free to contact wtzxxxwcy02@sjtu.edu.cn.
Related Skills
vue-3d-experience-skill
A comprehensive learning roadmap for mastering 3D Creative Development using Vue 3, Nuxt, and TresJS.
orbit-planning
O.R.B.I.T. - strategic project planning before you build. Objective, Requirements, Blueprint, Implementation Roadmap, Track.
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
roadmap
A beautifully designed, floating Pomodoro timer that respects your workspace.
