(self, img)
| 87 | a.reset_state() |
| 88 | |
| 89 | def get_transform(self, img): |
| 90 | # Note: this makes assumption that the augmentors do not make changes |
| 91 | # to the image that will affect how the transforms will be instantiated |
| 92 | # in the subsequent augmentors. |
| 93 | idxs = self.rng.permutation(len(self.aug_lists)) |
| 94 | tfms = [self.aug_lists[k].get_transform(img) |
| 95 | for k in range(len(self.aug_lists))] |
| 96 | return TransformList([tfms[k] for k in idxs]) |
| 97 | |
| 98 | |
| 99 | class MapImage(ImageAugmentor): |
nothing calls this directly
no test coverage detected