Git Product home page Git Product logo

cpc-trans's Introduction

CPC-Trans

Code for the MICCAI 2022 (early accepted) paper: "Toward Clinically Assisted Colorectal Polyp Recognition via Structured Cross-modal Representation Consistency"


The main figure

Dataset

We only provide the public part [link] with its bbox we labeled [link] of the CPC-paired Dataset while the another part is private. Thanks for understanding. And you should label the bounding box of the polyp and crop for preprocessing.

Installation

pip install -r requirements.txt

Download Pretrained Weights

We provide the pretrained weights of the model which were mentioned in the paper.

  • Base Weights (vit_small_patch16_224_in21k) link

For other model sizes, please refer to this table and download on the Internet or contact us to provide.

The main figure

  • Smaller Weights (vit_tiny_patch16_224_in21k)
  • Larger Weights (vit_base_patch16_224_in21k)

Run

we set the argument "fold" (default: 0) for k-fold cross validation, you can omit it if unnecessary.

python main.py --data_path /the/data/path/ --weights /the/pretrained/weights/path/

Citation

If you use any part of this code and pretrained weights for your own purpose, please cite our paper.

@InProceedings{Ma-CPC-Trans,
  author={Ma, Weijie and Zhu, Ye and Zhang, Ruimao and Yang, Jie and Hu, Yiwen and Li, Zhen and Xiang, Li},
  title={Toward Clinically Assisted Colorectal Polyp Recognition via Structured Cross-Modal Representation Consistency},
  booktitle={Medical Image Computing and Computer Assisted Intervention -- MICCAI 2022},
  year={2022},
  publisher={Springer Nature Switzerland},
  pages={141--150}
}

Contact for Issues

cpc-trans's People

Contributors

weijiemax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.