This is a model we created for the RSNA Pneumonia Detection Challenge on Kaggle. It's an ensemble model of various object detection models.
git submodule update --init
# from the root directory
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/tensorflow/tf-models/research:`pwd`/tensorflow/tf-models/research/slim:`pwd`/mask_rcnn/Mask_RCNN
Please see darknet, tensorflow and mask_rcnn directories for the detailed steps to train various models and use them to generate submission files.
Use ensemble.py
to combine the results.
# this is what we used for the final submission
# First generate 7 submission files for all the models
# then run the following to generate an ensembled submission file
python ensemble.py
<ensembled.csv> \
<faster_rcnn_resnet101 submission> \
<faster_rcnn_resnet50 submission> \
<faster_rcnn_inception v2 submission> \
<mask_rcnn_resnet101 submission> \
<mask_rcnn_resnet50 submission> \
<ssd_mobilenet_v2 submission> \
<darknet_yolov3 submission> \
--iou-thresh 0.01 \
--conf-thresh 0.4 \
--weights 0.204 0.18 0.168 0.16 0.145 0.12 0.136