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

Method __getattr__

PATH/core/data/transforms/seg_aug_dev.py:152–155  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

150 return self
151
152 def __getattr__(self, name: str):
153 if name.startswith("apply_"):
154 return lambda x: x
155 raise AttributeError("NoOpTransform object has no attribute {}".format(name))
156
157
158class CropTransform(Transform):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected