Skip to content
/ ZePT Public

Discover the repository for "ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Prompting," a pioneering study that has been accepted for presentation at CVPR 2024.

Notifications You must be signed in to change notification settings

Yankai96/ZePT

Repository files navigation

ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Prompting

Yankai Jiang, Zhongzhen Huang, Rongzhao Zhang, Xiaofan Zhang, Shaoting Zhang

arXiv PDF Project Page Video


🎉 News

  • [2024/03] ZePT is accepted to CVPR 2024!
  • [2024/12] The codes and model weights of ZePT are released!

🛠️ Quick Start

Installation

  • It is recommended to build a Python-3.9 virtual environment using conda

    git clone https://github.com/Yankai96/ZePT.git
    cd ZePT
    conda env create -f env.yml
    

Dataset Preparation

Dataset Pre-Process

  1. Please refer to CLIP-Driven to organize the downloaded datasets.
  2. Modify ORGAN_DATASET_DIR and NUM_WORKER in label_transfer.py
  3. python -W ignore label_transfer.py

Text Prompts

We provide the text prompts used for Query-Knowledge Alignment. These texts contain detailed knowledge of each [class name].

Model Weights

The weights used for zero-shot inference are provided in GoogleDrive

Zero-Shot Evaluation

  • Evaluation
    bash scripts/test.sh

Citation

If you find ZePT useful, please cite using this BibTeX:

@inproceedings{jiang2024zept,
  title={Zept: Zero-shot pan-tumor segmentation via query-disentangling and self-prompting},
  author={Jiang, Yankai and Huang, Zhongzhen and Zhang, Rongzhao and Zhang, Xiaofan and Zhang, Shaoting},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={11386--11397},
  year={2024}
}

Acknowledgement

The CLIP-Driven-Universal-Model served as the foundational codebase for our work and provided us with significant inspiration!

About

Discover the repository for "ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Prompting," a pioneering study that has been accepted for presentation at CVPR 2024.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published