def METHOD_NAME(self, image, text):
    """
    image should be tensor, 1 * 3 * 640 * 640
    """
    with torch.no_grad():
        if self.device_id == -1:
            output = self.model(image, [text])
        else:
            device = torch.device('cuda', self.device_id)
            output = self.model(image.to(device), [text])
        output = F.interpolate(output, size=(640, 640), mode='bilinear')
        output = F.softmax(output, dim=1)
        output = torch.argmax(output, dim=1)
        output = output[0]
        if self.device_id == -1:
            pred = output.data.numpy()
        else:
            pred = output.data.cpu().numpy()
        del output
    return pred