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

Method __call__

PATH/core/data/transforms/pose_transforms.py:173–180  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

171 self.augmentations = augmentations
172
173 def __call__(self, data):
174 # img, mask = Image.fromarray(img, mode='RGB'), Image.fromarray(mask, mode='L')
175
176 for a in self.augmentations:
177 data = a(data)
178 if data is None:
179 return None
180 return data
181
182
183class LoadImageFromFile:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected