MCPcopy Create free account
hub / github.com/Engineering-Course/LIP_JPPNet / inv_preprocess

Function inv_preprocess

utils/utils.py:65–81  ·  view source on GitHub ↗

Inverse preprocessing of the batch of images. Add the mean vector and convert from BGR to RGB. Args: imgs: batch of input images. num_images: number of images to apply the inverse transformations on. Returns: The batch of the size num_images with the same spatial dimensio

(imgs, num_images)

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