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

Method __call__

PATH/core/data/transforms/parsing_transforms.py:14–19  ·  view source on GitHub ↗
(self, data, label=None)

Source from the content-addressed store, hash-verified

12 self.augs = augs
13
14 def __call__(self, data, label=None):
15 for a in self.augs:
16 # import pdb;pdb.set_trace()
17 data, label = a(data, label)
18
19 return data, label
20
21 def __repr__(self):
22 return 'Compose'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected