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

Function process_cv2_inputs

slowfast/visualization/utils.py:304–322  ·  view source on GitHub ↗

Normalize and prepare inputs as a list of tensors. Each tensor correspond to a unique pathway. Args: frames (list of array): list of input images (correspond to one clip) in range [0, 255]. cfg (CfgNode): configs. Details can be found in slowfast/config/defau

(frames, cfg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__call__Method · 0.90
get_input_clipMethod · 0.90

Calls 2

tensor_normalizeFunction · 0.90
pack_pathway_outputFunction · 0.90

Tested by

no test coverage detected