MCPcopy Create free account
hub / github.com/Kitware/COAT / __init__

Method __init__

utils/transforms.py:63–65  ·  view source on GitHub ↗
(self, n_holes=2, length=100)

Source from the content-addressed store, hash-verified

61 length (int): The length (in pixels) of each square patch.
62 """
63 def __init__(self, n_holes=2, length=100):
64 self.n_holes = n_holes
65 self.length = length
66
67 def __call__(self, img, target):
68 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected