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

Method __init__

PATH/core/data/transforms/pedattr_transforms.py:297–300  ·  view source on GitHub ↗
(self, n, m)

Source from the content-addressed store, hash-verified

295
296class RandAugment(object):
297 def __init__(self, n, m):
298 self.n = n
299 self.m = m # [0, 30]
300 self.augment_list = augment_list()
301
302 def __call__(self, img):
303 ops = random.choices(self.augment_list, k=self.n)

Callers

nothing calls this directly

Calls 1

augment_listFunction · 0.85

Tested by

no test coverage detected