Note this can not be addressed by ‘tfm_y=True’ since here x is a mixed item that has two parts: an image and a bounding box. Usually, bboxes are labels, so we could simply set tfm_y to be true.
by image.apply_tfms(tfms[0], **kwargs); bboxes.apply_tfms(tfms[0], **kwargs);
, it gives two different transforms (although the same type of transforms)