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

Method __init__

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

Source from the content-addressed store, hash-verified

250
251class PadImage(object):
252 def __init__(self, size):
253 self.size = size
254 self.ignore_index = cfg.DATASET.IGNORE_LABEL
255
256
257 def __call__(self, img, mask):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected