def id_from_path(path):
    """From a path to a sampled pickle file, extract an ID for that run.
    E.g. from this path
        '../data/images/big_board/eric_phone/PXL_20211101_190909831/randomrun_4samples_1637106542543904.pickle'
    the relevant ID is
        big_board/eric_phone/
    """
    # Strip off early stuff
    path = path.split("data/images/")[-1]
    path = "/".join(path.split("/")[:2])
    return path