Skip to content
usr922Public

About

[TMI'25] Medical Knowledge Intervention Prompt Tuning for Medical Image Classification

Resources

Stars

19 stars

Watchers

2 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CILMP

The Pytorch implementation of Medical Knowledge Intervention Prompt Tuning for Medical Image Classification.

Environment

conda create -n cilmp python==3.8
conda activate cilmp
git clone https://github.com/usr922/cilmp.git
cd cilmp
pip install -r requirements.txt

Usage

1. Training

bash scripts/train.sh ${DATASET}

2. Validation

bash scripts/eval.sh ${DATASET}

Acknowledgement

We sincerely thank Prof. Kaiyang Zhou for the great work CoOp, Dassl.pytorch and Dr. Muhammad Uzair Khattak for the great work PromptSRC. We borrow codes heavily from their repositories.

About

[TMI'25] Medical Knowledge Intervention Prompt Tuning for Medical Image Classification

Resources

Stars

19 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages