Git Product home page Git Product logo

medrpg's Introduction

Medical Phrase Grounding with Region-Phrase Context Contrastive Alignment

Implementation for the MICCAI 2023 paper "Medical Phrase Grounding with Region-Phrase Context Contrastive Alignment"[ArXiv link].

News: In 2023.8.15, We first release the code of MedRPG.


Image Text

Environment

As shown in requirements.txt

Try a demo

  1. Download our released checkpoint to folder released_checkpoint
  2. Modify line 144,145,146 in demo.py to config the input (we put some images in the folder data_demo)
  3. Run demo.py and the output image will be saved in demo_cases

Train and Test

  1. Download the pretrained baseline model to folder pretrained (include DETR pretrained model and TransVG pretrained model)
  2. Download the MS_CXR dataset to folder ln_data
  3. Run the script script_ours_MS_CXR.sh to train, val and test our model, models will be saved in folder checkpoint

Citation

@inproceedings{chen23MedRPG,
     author = {Chen, Zhihao and Zhou, Yang and Tran, Anh and Zhao, Junting and Wan, Liang and Ooi, G.S.K. and Cheng, L.T.-E. and Thng, C.H. and Xu, Xinxing and Liu, Yong and Fu, Huazhu},
     title = {Medical Phrase Grounding with Region-Phrase Context Contrastive Alignment},
     booktitle = {MICCAI},
     year = {2023}
}

medrpg's People

Contributors

erasernut avatar

Stargazers

Huazhu FU 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.