def METHOD_NAME(self, data, **kwargs):
    img_slow = data[0]
    img_fast = data[1]
    proposals, gt_bboxes, gt_labels, scores, entity_ids = self.get_unpad_datas(
        data)
    img_shape = data[7]
    img_idx = data[8]
    img_metas = scores, entity_ids
    x = self.extract_feat(img=[img_slow, img_fast])
    roi_losses = self.roi_head.METHOD_NAME(x, img_metas, proposals,
                                          gt_bboxes, gt_labels, **kwargs)
    losses = dict()
    losses.update(roi_losses)
    return losses