Enforce integer lists for labels, fundi, and sulci: labels.tolist() -> [int(x) for x in labels]