(self, dp)
| 155 | self.augs.reset_state() |
| 156 | |
| 157 | def _aug_mapper(self, dp): |
| 158 | with self._exception_handler.catch(): |
| 159 | img, coords = dp[self._img_index], dp[self._coords_index] |
| 160 | check_dtype(img) |
| 161 | validate_coords(coords) |
| 162 | if self._copy: |
| 163 | img, coords = copy_mod.deepcopy((img, coords)) |
| 164 | tfms = self.augs.get_transform(img) |
| 165 | dp[self._img_index] = tfms.apply_image(img) |
| 166 | dp[self._coords_index] = tfms.apply_coords(coords) |
| 167 | return dp |
| 168 | |
| 169 | |
| 170 | class AugmentImageComponents(MapData): |
nothing calls this directly
no test coverage detected