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

Method __call__

transforms/transforms.py:149–151  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

147 Flip around the x-axis
148 """
149 def __call__(self, img):
150 img = np.array(img)[:, :, ::-1]
151 return Image.fromarray(img.astype(np.uint8))
152
153
154class RandomGaussianBlur(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected