MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __init__

Method __init__

PATH/core/augmentation.py:577–582  ·  view source on GitHub ↗
(self, height, width, vit=False)

Source from the content-addressed store, hash-verified

575
576class ReidTestAugmentationCV2(object):
577 def __init__(self, height, width, vit=False):
578 self.height = height
579 self.width = width
580 self.vit = vit
581 self.normalizer = T.Normalize(mean=[0.485, 0.456, 0.406],
582 std=[0.229, 0.224, 0.225])
583
584 def __call__(self, img):
585 ## transform

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected