MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / __init__

Method __init__

Regularization/Cutout-master/util/cutout.py:12–14  ·  view source on GitHub ↗
(self, n_holes, length)

Source from the content-addressed store, hash-verified

10 length (int): The length (in pixels) of each square patch.
11 """
12 def __init__(self, n_holes, length):
13 self.n_holes = n_holes
14 self.length = length
15
16 def __call__(self, img):
17 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected