def _set_group_flag(self):
    'Set flag according to image aspect ratio.\n\n        Images with aspect ratio greater than 1 will be set as group 1,\n        otherwise group 0.\n        '
    self.flag = np.zeros(len(self), dtype=np.uint8)
Set flag according to image aspect ratio.

Images with aspect ratio greater than 1 will be set as group 1,
otherwise group 0.
def _set_group_flag(self):
    'Set flag according to image aspect ratio.\n\n        Images with aspect ratio greater than 1 will be set as group 1,\n        otherwise group 0.\n        '
    self.flag = np.zeros(len(self), dtype=np.uint8)