MCPcopy Create free account
hub / github.com/tensorpack/tensorpack / reset_state

Method reset_state

tensorpack/dataflow/imgaug/base.py:233–237  ·  view source on GitHub ↗

Will reset state of each augmentor

(self)

Source from the content-addressed store, hash-verified

231 super(AugmentorList, self).__init__()
232
233 def reset_state(self):
234 """ Will reset state of each augmentor """
235 super(AugmentorList, self).reset_state()
236 for a in self.augmentors:
237 a.reset_state()
238
239 def get_transform(self, img):
240 check_dtype(img)

Callers 7

bsds500.pyFile · 0.45
ilsvrc.pyFile · 0.45
places.pyFile · 0.45
cifar.pyFile · 0.45
caltech101.pyFile · 0.45
mnist.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected