MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / __init__

Method __init__

transforms/joint_transforms.py:285–286  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

283
284class FreeScale(object):
285 def __init__(self, size):
286 self.size = tuple(reversed(size)) # size: (h, w)
287
288 def __call__(self, img, mask):
289 assert img.size == mask.size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected