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

Method __init__

PATH/core/augmentation.py:633–637  ·  view source on GitHub ↗
(self, sl=0.02, sh=0.2, asratio=0.3, p=0.8)

Source from the content-addressed store, hash-verified

631
632class RandomSizedEarser(object):
633 def __init__(self, sl=0.02, sh=0.2, asratio=0.3, p=0.8):
634 self.sl = sl
635 self.sh = sh
636 self.asratio = asratio
637 self.p = p
638
639 def __call__(self, img):
640 p1 = random.uniform(-1, 1.0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected