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

Method __init__

utils/joint_transforms.py:70–71  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

68
69class FreeScale(object):
70 def __init__(self, size):
71 self.size = tuple(reversed(size)) # size: (h, w)
72
73 def __call__(self, img, mask):
74 assert img.size == mask.size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected