Imported from https://github.com/1512159/tf-faster-rcnn-medico