def random_transform_group(self, image_group, annotations_group):
    '\n        Randomly transforms each image and its annotations.\n        '
    assert (len(image_group) == len(annotations_group))
    for index in range(len(image_group)):
        (image_group[index], annotations_group[index]) = self.random_transform_group_entry(image_group[index], annotations_group[index])
    return (image_group, annotations_group)
Randomly transforms each image and its annotations.
def random_transform_group(self, image_group, annotations_group):
    '\n        \n        '
    assert (len(image_group) == len(annotations_group))
    for index in range(len(image_group)):
        (image_group[index], annotations_group[index]) = self.random_transform_group_entry(image_group[index], annotations_group[index])
    return (image_group, annotations_group)