l5kit.data.combine module

l5kit.data.combine.get_combined_scenes(scenes: numpy.ndarray) numpy.ndarray

Takes as input an np.ndarray or zarr array with scenes, and combines scenes that follow up eachother perfectly (i.e. from a single recording by the same host). Returns an np.ndarray of combined scenes.

Arguments:

scenes (np.ndarray): scenes

Returns:

np.ndarray – combined scenes where followup scenes have been merged.