(self, results)
| 458 | """ |
| 459 | |
| 460 | def __call__(self, results): |
| 461 | results['image'] = torch.as_tensor(np.ascontiguousarray(results['image'].transpose(2, 0, 1))) |
| 462 | # results['image'] = F.to_tensor(results['image']) |
| 463 | return results |
| 464 | |
| 465 | |
| 466 | class NormalizeTensor: |
nothing calls this directly
no outgoing calls
no test coverage detected