def local_prediction_2xy(output_dim, t_vertices):
    """
    Convert a list of vertices index into a list of xy vertices
    """
    side = output_dim / 2

    x = t_vertices % output_dim - side

    y = ((t_vertices) / output_dim) - side

    return x, y