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

Method __init__

PATH/core/augmentation_pos.py:32–38  ·  view source on GitHub ↗
(self,
                 to_float32=False,
                 color_type='color',
                 channel_order='rgb')

Source from the content-addressed store, hash-verified

30 """
31
32 def __init__(self,
33 to_float32=False,
34 color_type='color',
35 channel_order='rgb'):
36 self.to_float32 = to_float32
37 self.color_type = color_type
38 self.channel_order = channel_order
39
40 def __call__(self, results):
41 """Loading image from file."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected