def random_misc_group_entry(self, image, annotations):
    '\n        Randomly transforms image and annotation.\n        '
    assert (annotations['bboxes'].shape[0] != 0)
    (image, boxes) = self.misc_effect(image, annotations['bboxes'])
    annotations['bboxes'] = boxes
    return (image, annotations)
Randomly transforms image and annotation.
def random_misc_group_entry(self, image, annotations):
    '\n        \n        '
    assert (annotations['bboxes'].shape[0] != 0)
    (image, boxes) = self.misc_effect(image, annotations['bboxes'])
    annotations['bboxes'] = boxes
    return (image, annotations)