(self, input_size, scales=None, max_distort=1, fix_crop=True, more_fix_crop=True)
| 197 | |
| 198 | class GroupMultiScaleCrop(object): |
| 199 | def __init__(self, input_size, scales=None, max_distort=1, fix_crop=True, more_fix_crop=True): |
| 200 | self.scales = scales if scales is not None else [1, .875, .75, .66] |
| 201 | self.max_distort = max_distort |
| 202 | self.fix_crop = fix_crop |
| 203 | self.more_fix_crop = more_fix_crop |
| 204 | self.input_size = input_size if not isinstance(input_size, int) else [input_size, input_size] |
| 205 | self.interpolation = Image.BILINEAR |
| 206 | |
| 207 | def __call__(self, img_group): |
| 208 |
nothing calls this directly
no outgoing calls
no test coverage detected