MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / __init__

Method __init__

utils/joint_transforms.py:132–133  ·  view source on GitHub ↗
(self, degree)

Source from the content-addressed store, hash-verified

130
131class RandomRotate(object):
132 def __init__(self, degree):
133 self.degree = degree
134
135 def __call__(self, img, mask):
136 rotate_degree = random.random() * 2 * self.degree - self.degree

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected