def get_accuracy(predicted, labels):
    """
    Accuracy.

    Parameters
    __________
    predicted : torch.tensor, shape = [batch, n_vertex]
        Model outputs.
    labels : torch.tensor, shape = [batch, n_vertex]
        True labels.

    Returns
    _______
    n_correct : int
        # of correct vertices.
    n_vert : int
        # of vertices.
    """

    n_correct = (predicted == labels).sum().item()
    n_vert = len(labels.flatten(0))

    return n_correct, n_vert