Imported from https://github.com/kevinjliang/tf-Faster-RCNN