def color_track_map(color_track):
    """
    Returns a map of labels to ints, and a map of ints to labels.
    """
    colors = sorted(list(set(color_track)))
    return {c: i for i, c in enumerate(colors)}, {i: c for i, c in enumerate(colors)}