Added images and labels attributes for class gestion_data to avoid multiple computations