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

Method __call__

PATH/core/augmentation_pos.py:265–267  ·  view source on GitHub ↗
(self, results)

Source from the content-addressed store, hash-verified

263 """
264
265 def __call__(self, results):
266 results['image'] = F.to_tensor(results['image'])
267 return results
268
269class NormalizeTensor:
270 """Normalize the Tensor image (CxHxW), with mean and std.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected