MCPcopy Create free account
hub / github.com/dengdan/seglink / preprocess_image

Function preprocess_image

preprocessing/ssd_vgg_preprocessing.py:332–367  ·  view source on GitHub ↗

Pre-process an given image. Args: image: A `Tensor` representing an image of arbitrary size. output_height: The height of the image after preprocessing. output_width: The width of the image after preprocessing. is_training: `True` if we're preprocessing the image for tra

(image,
                     labels,
                     bboxes,
                     xs, ys,
                     out_shape,
                     data_format = 'NHWC',
                     is_training=False,
                     **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

preprocess_for_trainFunction · 0.85
preprocess_for_evalFunction · 0.85

Tested by

no test coverage detected