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