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

Method __repr__

PATH/core/data/transforms/parsing_transforms.py:264–272  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 return rotated
263
264 def __repr__(self):
265 repr_str = self.__class__.__name__
266 repr_str += f'(prob={self.prob}, ' \
267 f'degree={self.degree}, ' \
268 f'pad_val={self.pal_val}, ' \
269 f'seg_pad_val={self.seg_pad_val}, ' \
270 f'center={self.center}, ' \
271 f'auto_bound={self.auto_bound})'
272 return repr_str
273
274# copied from https://github.com/open-mmlab/mmsegmentation/blob/2d66179630035097dcae08ee958f60d4b5a7fcae/mmseg/datasets/pipelines/transforms.py
275class PhotoMetricDistortion:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected