MCPcopy Create free account
hub / github.com/VainF/DeepLabV3Plus-Pytorch / __call__

Method __call__

utils/ext_transforms.py:281–293  ·  view source on GitHub ↗

Note that labels will not be normalized to [0, 1]. Args: pic (PIL Image or numpy.ndarray): Image to be converted to tensor. lbl (PIL Image or numpy.ndarray): Label to be converted to tensor. Returns: Tensor: Converted image and label

(self, pic, lbl)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected