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

Method __init__

transforms/transforms.py:126–128  ·  view source on GitHub ↗
(self, size, interpolation=Image.BILINEAR)

Source from the content-addressed store, hash-verified

124
125class ResizeHeight(object):
126 def __init__(self, size, interpolation=Image.BILINEAR):
127 self.target_h = size
128 self.interpolation = interpolation
129
130 def __call__(self, img):
131 w, h = img.size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected