MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / grayscale

Function grayscale

slowfast/datasets/transform.py:295–314  ·  view source on GitHub ↗

Get the grayscale for the input images. The channels of images should be in order BGR. Args: images (tensor): the input images for getting grayscale. Dimension is `num frames` x `channel` x `height` x `width`. Returns: img_gray (tensor): blended images, t

(images)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

contrast_jitterFunction · 0.70
saturation_jitterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected