(self, output_size)
| 250 | """ |
| 251 | |
| 252 | def __init__(self, output_size): |
| 253 | assert isinstance(output_size, (int, tuple)) |
| 254 | if isinstance(output_size, int): |
| 255 | self.output_size = (output_size, output_size) |
| 256 | else: |
| 257 | assert len(output_size) == 2 |
| 258 | self.output_size = output_size |
| 259 | |
| 260 | def __call__(self, sample): |
| 261 | image, landmarks = sample['image'], sample['landmarks'] |
nothing calls this directly
no outgoing calls
no test coverage detected