Imported from https://github.com/insigh/Faster-RCNN-Tensorflow