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

Function plot_input

slowfast/utils/misc.py:224–251  ·  view source on GitHub ↗

Plot the input tensor with the optional bounding box and save it to disk. Args: tensor (tensor): a tensor with shape of `NxCxHxW`. bboxes (tuple): bounding boxes with format of [[x, y, h, w]]. texts (tuple): a tuple of string to plot. path (str): path to the

(tensor, bboxes=(), texts=(), path="./tmp_vis.png")

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