I would search for good implementations of object detection models on github.
This YOLO3 version 319 seems to provide a training script.
Also @chenyuntc has provided a nice repo for Faster RCNN here 66.