(self, input_size, scales=None, max_distort=1, fix_crop=True, more_fix_crop=True)
| 135 | class GroupMultiScaleCrop(object): |
| 136 | |
| 137 | def __init__(self, input_size, scales=None, max_distort=1, fix_crop=True, more_fix_crop=True): |
| 138 | self.scales = scales if scales is not None else [1, .875, .75, .66] |
| 139 | self.max_distort = max_distort |
| 140 | self.fix_crop = fix_crop |
| 141 | self.more_fix_crop = more_fix_crop |
| 142 | self.input_size = input_size if not isinstance(input_size, int) else [input_size, input_size] |
| 143 | self.interpolation = Image.BILINEAR |
| 144 | |
| 145 | def __call__(self, img_group): |
| 146 |
nothing calls this directly
no outgoing calls
no test coverage detected