Home

Awesome

Introduction

Anchor optimization for RetinaNet based on Improving RetinaNet for CT Lesion Detection with Dense Masks from Weak RECIST Labels by Martin Zlocha, Qi Dou and Ben Glocker. Implementation makes heavy use of keras-retinanet.

For questions and discussion join the Keras Slack and either message me directly (username: martinzlocha) or join the #keras-retinanet channel.

Setup

  1. Clone this repository
  2. pip install .
  3. python setup.py build_ext --inplace

Usage

Basic usage:

  1. Define your own dataset in a csv format, for more information follow the guide in keras-retinanet.
  2. Run anchor-optimization PATH_TO_CSV

Additional options:

To reproduce our results:

anchor-optimization PATH_TO_CSV --ratios=5 --no-resize

Notes

Contributions to this repository are welcome.

Citation

If you find the code or the optimized anchors useful for your research, please consider citing our paper.

@article{zlocha2019improving,
  title={Improving RetinaNet for CT Lesion Detection with Dense Masks from Weak RECIST Labels},
  author={Zlocha, Martin and Dou, Qi and Glocker, Ben},
  journal={arXiv preprint arXiv:1906.02283},
  year={2019}
}