Skip to content

huzama/CXR_ReportGenerator

 
 

Repository files navigation

Xray image caption generator

I. Model Architecture Alt text

II. Running step

  1. Create conda environment:
    conda create -n xray_caption python=3.8
    conda activate xray_caption
    pip3 install -r requirements.txt
  1. Download dataset and extract all images to dataset/images folder Download from here: https://drive.google.com/file/d/16yDwrINwgOVPUgWbs3JdHqioPo1NsTrt/view?usp=sharing
  2. Train the model:
  # pass --use_bert to use embeddings vectors from pretrained Biobert
  
  python main.py --mode=train --use_bert --batch_size=32 --n_epochs=40
  1. Validate model:
  python main.py --mode=val --use_bert

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.0%
  • Python 3.0%