def METHOD_NAME(self, img, text_list=None):
    if text_list is None:
        bsz = img.size()[0]
        text_list = ['foregeound'] * bsz
    x = self.extract_feat(img)
    _x_orig = [x[i] for i in range(4)]
    name_list = []
    for name in text_list:
        name_list.append('others')
        name_list.append(name[0:20])
    x_orig, score_map = self.after_extract_feat(x, name_list)
    x_orig = list(self.neck(x_orig))
    _x_orig = x_orig
    pred = self.head_fpn(_x_orig)
    return pred