Skip to content

Eleanorhxd/CCFN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCFN: Collaborative cross-modal fusion network for radiology report generation

Highlight

    1. Proposes a collaborative cross-modal fusion network for radiology report generation.
    1. Constructs visual collaborative enhancement module to accurately identify abnormal lesions.
    1. Designs cross-modal semantic fusion to perform information alignment between different modalities.

Requirements

  • Python >= 3.6
  • Pytorch >= 1.7
  • torchvison

Data

Download IU X-Ray and MIMIC-CXR datasets, and place them in data folder.

  • IU X-Ray dataset is available from here
  • MIMIC-CXR dataset is available from here

Folder Structure

  • config : setup training arguments and data path
  • data : store IU and MIMIC dataset
  • models: our model
  • modules:
    • the layer define of our model
    • dataloader
    • loss function
    • metrics
    • tokenizer
    • some utils
  • preprocess: data preprocess
  • pycocoevalcap: Microsoft COCO Caption Evaluation Tools

Training & Testing

The source code for training can be found here:

Run train.py to train a model on the IU X-Ray data and MIMIC-CXR data.

Run test.py to test a model on the IU X-Ray data and MIMIC-CXR.

To run the command, you only need to specify the config file and the GPU ID and iteration version of the model to be used

Acknowledgement

We appreciate for all code providers, especially for R2GenCMN.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages