MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / __init__

Method __init__

utils/augmentations.py:186–189  ·  view source on GitHub ↗
(self, delta=32)

Source from the content-addressed store, hash-verified

184
185class RandomBrightness(object):
186 def __init__(self, delta=32):
187 assert delta >= 0.0
188 assert delta <= 255.0
189 self.delta = delta
190
191 def __call__(self, image, boxes=None, labels=None):
192 if random.randint(2):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected