def METHOD_NAME(self):
    assert self.roidbs
    if self.proposals and len(self.proposals.keys()) > 0:
        logger.info("merge proposals to annos")
        for id, record in enumerate(self.roidbs):
            image_id = int(record["im_id"])
            if image_id not in self.proposals.keys():
                logger.info("image id :{} no proposals".format(image_id))
            record["proposals"] = np.array(
                self.proposals.get(image_id, []), dtype=np.float32)
            self.roidbs[id] = record