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

Method __init__

PATH/core/augmentation_pos.py:182–185  ·  view source on GitHub ↗
(self, rot_factor=40, scale_factor=0.5, rot_prob=0.6)

Source from the content-addressed store, hash-verified

180 """
181
182 def __init__(self, rot_factor=40, scale_factor=0.5, rot_prob=0.6):
183 self.rot_factor = rot_factor
184 self.scale_factor = scale_factor
185 self.rot_prob = rot_prob
186
187 def __call__(self, results):
188 """Perform data augmentation with random scaling & rotating."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected