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

Function add_confusion_matrix

slowfast/visualization/tensorboard_vis.py:235–277  ·  view source on GitHub ↗

Calculate and plot confusion matrix to a SummaryWriter. Args: writer (SummaryWriter): the SummaryWriter to write the matrix to. cmtx (ndarray): confusion matrix. num_classes (int): total number of classes. global_step (Optional[int]): current step. su

(
    writer,
    cmtx,
    num_classes,
    global_step=None,
    subset_ids=None,
    class_names=None,
    tag="Confusion Matrix",
    figsize=None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

plot_evalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected