Giter Club home page Giter Club logo

covid19_weak_supervision's Introduction

A Weakly Supervised Consistency-based Learning Method for COVID-19 Segmentation in CT Images [Paper]

Accepted at WACV2021 Conference. Try the code in this colab.

1. Download Datasets

COVID19

COVID19 V2

COVID19 V3

2. Train & Validate

Run the following command to reproduce the experiments in the paper:

python trainval.py -e weakly_covid19_${DATASET}_${SPLIT} -sb ${SAVEDIR_BASE} -d ${DATADIR} -r 1

The variables (${...}) can be substituted with the following values:

  • DATASET (the COVID dataset): v1, v2, or v3
  • SPLIT (the dataset split): mixed_c2, sep_c2
  • SAVEDIR_BASE: Absolute path to where results will be saved
  • DATADIR: Absolute path containing the downloaded datasets

Experiment hyperparameters are defined in ./exp_configs/weakly_exps.py

3. Visualize the Results

Open results.ipynb for visualization.

Cite

@article{laradji2020weakly,
  title={A Weakly Supervised Consistency-based Learning Method for COVID-19 Segmentation in CT Images},
  author={Laradji, Issam and Rodriguez, Pau and Manas, Oscar and Lensink, Keegan and Law, Marco and Kurzman, Lironne and Parker, William and Vazquez, David and Nowrouzezahrai, Derek},
  journal={arXiv preprint arXiv:2007.02180},
  year={2020}
}

covid19_weak_supervision's People

Contributors

issamlaradji avatar jqueguiner avatar prlz77 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

covid19_weak_supervision's Issues

test_score is NaN during training

Hi, thanks for your code. I am trying to reproduce your experimental results, and when running trainval.py on dataset v1, I found the "test_score" is always "NaN" after epoch 0. I conduct experiments on ubuntu16.04 with pytorch 1.4. Looking forward to you reply, thanks a lot
image

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.