Giter Site home page Giter Site logo

fstl4hrdr's Introduction

Introduction

Source code for Few-Shot Transfer Learning for Hereditary Retinal Diseases Recognition(early accepted in MICCAI 2021).

Citation

@inproceedings{mai2021few,
  title={Few-Shot Transfer Learning for Hereditary Retinal Diseases Recognition},
  author={Mai, Siwei and Li, Qian and Zhao, Qi and Gao, Mingchen},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={97--107},
  year={2021},
  organization={Springer}
}

model

In our experiments, we used ResNet50 as the teacher model and ResNet18 as the student model by default. We also integrated many other commonly used models as additional choices in the models folder, please modify the individual training files if you select them.

data

For confidentiality reasons, we do not provide the target dataset in the experiment, but the BOE dataset and Cell dataset are publicly available for download. For training, the dataset directory needs to be modified in the corresponding dataloader files.

Usage

0. Preprocess the OCT images (optional)

python3 preprocess.py --path <path to dataset>
*OpenBLAS is optional to install for accelerating the calculation.

1. train projector with SNNL by auxiliary dataset

python3 train_projector.py -T 50 -a -5.0 --info "trial 1"

2.transfer learning for teacher model by target dataset

python3 transfer2teacher.py --methods (ALL/HL/FE) --path_t *path to the .pth file trained by projector*"

3.Student-Teacher Learning for student model by target dataset

python3 train_student.py --path_t *path to the .pth file trained by teacher*"

Contact

Still in the process of improvement, if you find any problems, or have any questions, please feel free to contact me ([email protected])

fstl4hrdr's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.