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

Method __init__

PATH/core/augmentation.py:670–674  ·  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

668
669class RandomSizedEarserCV2(object):
670 def __init__(self, sl=0.02, sh=0.2, asratio=0.3, p=0.8):
671 self.sl = sl
672 self.sh = sh
673 self.asratio = asratio
674 self.p = p
675
676 def __call__(self, img):
677 p1 = random.uniform(-1, 1.0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected