MCPcopy Create free account
hub / github.com/lingeringlight/START / __init__

Method __init__

augment.py:33–36  ·  view source on GitHub ↗
(self, p=0.1, radius_min=0.1, radius_max=2.)

Source from the content-addressed store, hash-verified

31 Apply Gaussian Blur to the PIL image.
32 """
33 def __init__(self, p=0.1, radius_min=0.1, radius_max=2.):
34 self.prob = p
35 self.radius_min = radius_min
36 self.radius_max = radius_max
37
38 def __call__(self, img):
39 do_it = random.random() <= self.prob

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected