Optimizing image-based TFRecords to reduce storage space and improve training times.