Giter VIP home page Giter VIP logo

dltta's Introduction

DLTTA: Dynamic Learning Rate for Test-time Adaptation on Cross-domain Medical Images

Pytorch implementation for TMI paper DLTTA: Dynamic Learning Rate for Test-time Adaptation on Cross-domain Medical Images, by Hongzheng Yang, Chen Cheng, Meirui Jiang, Quande Liu, Jianfeng Cao, Pheng-Ann Heng, Qi Dou.

Abstract

Files

In this repository, we provide the implementation of our dynamic learning rate method on OCT dataset. The ATTA and Tent implementation were adopted from their official implementation. (Tent, ATTA)

To reproduce results on Camelyon17 and Prostate datasets, please refer to the experiments folder.

Datasets

The OCT dataset can downloaded from here.

The Camelyon17 dataset can be downloaded from here.

The Prostate dataset can be downloaded from here.

Usage

  1. create conda environment

    conda create -n DLTTA python=3.7
    conda activate DLTTA
    
  2. Install dependencies:

    1. install pytorch==1.7.0 torchvision==0.9.0 (via conda, recommend)
  3. download the dataset

  4. download the pretrained model from google drive

  5. modify the corresponding data path and model path in test.sh

  6. run test.sh to adapt the model

Citation

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

@article{2022DLTTA,
 title={DLTTA: Dynamic Learning Rate for Test-time Adaptation on Cross-domain Medical Images},
  author={Hongzheng Yang, Cheng Chen, Meirui Jiang, Quande Liu, Jianfeng Cao, Pheng Ann Heng, Qi Dou},
  year={2022}
}  

Questions

Please feel free to contact '[email protected]' if you have any questions.

dltta's People

Contributors

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