Glourier/MICCAI2024-ZeroShotCXR

Winner of MICCAI 2024 Challenge CXR-LT task3: zero-shot classification of chest X-ray images.

5

stars

17

commits

Python

primary language

Jun 19, 2025

updated

README

Vision-language models for zero-shot multi-label fine-grained classification of chest X-ray images

  • This is the repository of MICCAI 2024 Challenge: CXR-LT.
  • Winner solution for Task3: zero-shot classification.

1 References

2 Model architecture

  • See slides. (Updated: 2024-10-31)
  • For detailed description, please see report. (Updated: 2024-11-24)

3 Usage

3.1 Train vision-language model:

  • Pretrain on unified dataset:
    • python main_task3_pretrain.py --lora
  • Train on classification task:
    • python main_task3.py --lora --ckpt_path saved/20240718_0002-Class-LT-16279-task3-baseline-pretrain-nghsg8mz/ckpt/best34.ckpt --desc_file description.csv

3.2 Train vision model:

  • Single-view model to fientune the image encoder:
    • python main_task1.py --lora
  • Multi-view model with frozen image encoder:
    • python main_task1_mv.py --lora --ckpt_path saved/20240722_1142-Class-LT-16411-task1-baseline-5hjh936c/ckpt/best92.ckpt --freeze_encoder image

Citation

If you find this repository useful, please cite the following:

@misc{MICCAI2024-ZeroShotCXR,
  author = {Yuyan Ge},
  title = {MICCAI2024-ZeroShotCXR},
  year = {2024},
  howpublished = {\url{https://github.com/Glourier/MICCAI2024-ZeroShotCXR}},
}
@article{lin2025cxr,
  title={CXR-LT 2024: A MICCAI challenge on long-tailed, multi-label, and zero-shot disease classification from chest X-ray},
  author={Lin, Mingquan and Holste, Gregory and Wang, Song and Zhou, Yiliang and Wei, Yishu and Banerjee, Imon and Chen, Pengyi and Dai, Tianjie and Du, Yuexi and Dvornek, Nicha C and others},
  journal={arXiv preprint arXiv:2506.07984},
  year={2025}
}

Contributors

Glourier

17 commits

Glourier/MICCAI2024-ZeroShotCXR

Winner of MICCAI 2024 Challenge CXR-LT task3: zero-shot classification of chest X-ray images.

5

stars

17

commits

Python

primary language

Jun 19, 2025

updated

README

Vision-language models for zero-shot multi-label fine-grained classification of chest X-ray images

  • This is the repository of MICCAI 2024 Challenge: CXR-LT.
  • Winner solution for Task3: zero-shot classification.

1 References

2 Model architecture

  • See slides. (Updated: 2024-10-31)
  • For detailed description, please see report. (Updated: 2024-11-24)

3 Usage

3.1 Train vision-language model:

  • Pretrain on unified dataset:
    • python main_task3_pretrain.py --lora
  • Train on classification task:
    • python main_task3.py --lora --ckpt_path saved/20240718_0002-Class-LT-16279-task3-baseline-pretrain-nghsg8mz/ckpt/best34.ckpt --desc_file description.csv

3.2 Train vision model:

  • Single-view model to fientune the image encoder:
    • python main_task1.py --lora
  • Multi-view model with frozen image encoder:
    • python main_task1_mv.py --lora --ckpt_path saved/20240722_1142-Class-LT-16411-task1-baseline-5hjh936c/ckpt/best92.ckpt --freeze_encoder image

Citation

If you find this repository useful, please cite the following:

@misc{MICCAI2024-ZeroShotCXR,
  author = {Yuyan Ge},
  title = {MICCAI2024-ZeroShotCXR},
  year = {2024},
  howpublished = {\url{https://github.com/Glourier/MICCAI2024-ZeroShotCXR}},
}
@article{lin2025cxr,
  title={CXR-LT 2024: A MICCAI challenge on long-tailed, multi-label, and zero-shot disease classification from chest X-ray},
  author={Lin, Mingquan and Holste, Gregory and Wang, Song and Zhou, Yiliang and Wei, Yishu and Banerjee, Imon and Chen, Pengyi and Dai, Tianjie and Du, Yuexi and Dvornek, Nicha C and others},
  journal={arXiv preprint arXiv:2506.07984},
  year={2025}
}

Contributors

Glourier

17 commits

Languages

Python

100.0%