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