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

Method __call__

utils/joint_transforms.py:13–17  ·  view source on GitHub ↗
(self, img, mask)

Source from the content-addressed store, hash-verified

11 self.transforms = transforms
12
13 def __call__(self, img, mask):
14 assert img.size == mask.size
15 for t in self.transforms:
16 img, mask = t(img, mask)
17 return img, mask
18
19
20class RandomCrop(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected