(self, height, width)
| 614 | |
| 615 | class ReidTestAugmentation(object): |
| 616 | def __init__(self, height, width): |
| 617 | |
| 618 | normalizer = T.Normalize(mean=[0.485, 0.456, 0.406], |
| 619 | std=[0.229, 0.224, 0.225]) |
| 620 | |
| 621 | self.test_transformer = T.Compose([ |
| 622 | T.Resize((height, width)), |
| 623 | T.ToTensor(), |
| 624 | normalizer, |
| 625 | ]) |
| 626 | |
| 627 | def __call__(self, img): |
| 628 | ## transform |
nothing calls this directly
no outgoing calls
no test coverage detected