Giter Club home page Giter Club logo

fedirm's Introduction

Federated Semi-supervised Medical Image Classification via Inter-client Relation Matching

by Quande Liu, Hongzheng Yang, Qi Dou, Pheng-Ann Heng.

Edited by Yasin Tarakçı

Introduction

Pytorch implementation for MICCAI 2021 paper "Federated Semi-supervised Medical Image Classification via Inter-client Relation Matching"

Prepare the repository and datasets

  1. Clone the repository and go to the repository root directory:

    git clone https://github.com/ysntrkc/FedIRM.git
    cd FedIRM
    
  2. Create a conda environment and activate it:

    conda env create -f environment.yml
    conda activate fedIRM
    
  3. Download datasets from following sources:

    1. ISIC 2019 (Kaggle)
    2. HAM10000 (Kaggle)
    3. RSNA Intracranial Hemorrhage Detection (drive)
  4. Extract the datasets to data/ folder and place the content into folders like this:

    1. ISIC 2019: data/isic2019/
    2. HAM10000: data/ham10000/
    3. RSNA Intracranial Hemorrhage Detection: data/rsna/
  5. Go to data folder from terminal with cd data and run python prepare_data.py to prepare the datasets.

Run the code

  1. Go to the src folder with cd src and run python main.py to train the model.

  2. You can see the different options in src/options.py and change the parameters as you want.

  3. You can see the example run commands in src/example_run.sh file.

Citation

If this repository is useful for your research, please cite:

@article{liu2021federated,
  title={Federated Semi-supervised Medical Image Classification via Inter-client Relation Matching},
  author={Liu, Quande and Yang, Hongzheng and Dou, Qi and Heng, Pheng-Ann},
  journal={International Conference on Medical Image Computing and Computer Assisted Intervention},
  year={2021}
}

Questions

Please contact '[email protected]' or '[email protected]'

If you have questions about this version of the code, you can also contact '[email protected]'

fedirm's People

Contributors

ysntrkc avatar hongzhengyang avatar liuquande 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.