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

Method _init

PATH/core/data/transforms/seg_transforms_dev.py:441–445  ·  view source on GitHub ↗
(self, params=None)

Source from the content-addressed store, hash-verified

439 """
440
441 def _init(self, params=None):
442 if params:
443 for k, v in params.items():
444 if k != "self" and not k.startswith("_"):
445 setattr(self, k, v)
446
447 def get_transform(self, *args) -> Transform:
448 """

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected