Skip to content
/ DCA Public

Source code for "Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classification" accepted to BMVC2020.

Notifications You must be signed in to change notification settings

FOURM-LAB/DCA

Repository files navigation

Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classification

Introduction

This repository contains the source code and demonstration of Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classification (project page), which is accepted to BMVC2020.

In this work, we propose to use DCA as an auxiliary loss term for classification network calibration. DCA integrates network calibration into the classification training stage. Thus, no explicit training round for calibration is required.

Requirements

We recommended the following dependencies.

Code

  • demo_dca.ipynb shows a demonstartion of the proposed method using the AlexNet backbone and Mendeley V2.
  • loss_fn.py defines the proposed classificaiton loss, i.e., cross-entropy loss + DCA auxiliary loss
  • demo_uncalibrated.ipynb shows a demonstartion of the uncalibrated method using the AlexNet backbone and Mendeley V2.

Reference

If you find this paper or code helpful, please cite this paper:

@inproceedings{liang2020imporved,  
  title={Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classification},  
  author={Liang, Gongbo and Zhang, Yu and Wang, Xiaoqin and Jacobs, Nathan},  
  booktitle={British Machine Vision Conference (BMVC)},  
  year={2020}
}

Acknowledgements and Disclaimers

The code is provided for academic purposes only without any guarantees.
The Mendeley V2 dataset can be downloaded here.
Part of the code that is used in this repo. is based on temperature_scaling
For more detail of temperature scaling, pleae visit their project page

About

Source code for "Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classification" accepted to BMVC2020.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published