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

Method __init__

slowfast/visualization/video_visualizer.py:350–394  ·  view source on GitHub ↗

Args: num_classes (int): total number of classes. class_names_path (str): path to json file that maps class names to ids. Must be in the format {classname: id}. top_k (int): number of top predicted classes to plot. colormap (st

(
        self,
        num_classes,
        class_names_path,
        top_k=1,
        colormap="rainbow",
        thres=0.7,
        lower_thres=0.3,
        common_class_names=None,
        mode="top-k",
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_get_thres_arrayMethod · 0.95
get_class_namesFunction · 0.90

Tested by

no test coverage detected