MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / _get_augment_params

Method _get_augment_params

tensorpack/dataflow/imgaug/imgproc.py:30–31  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

28 self._init(locals())
29
30 def _get_augment_params(self, _):
31 return self._rand_range(*self.range)
32
33 def _augment(self, img, hue):
34 m = cv2.COLOR_BGR2HSV if not self.rgb else cv2.COLOR_RGB2HSV

Callers

nothing calls this directly

Calls 1

_rand_rangeMethod · 0.80

Tested by

no test coverage detected