Wandb.plot.confusion_matrix() just show a Table!

Hello,

I used this code to create a confusion matrix:

# confusion matrix
        wandb.log({"confusion-matrix-test": wandb.plot.confusion_matrix(
            probs=None,
            y_true=all_gt, preds=all_pre,
            class_names=classes_names)})

However, Wanda’s website only shows a table instead of the confusion matrix. This is a screenshot from the issue:

If you click the section called “Custom Charts” above the Table, it’ll show the line plot that you’ve logged.

Logging the Table also is expected behaviour because this will allow users to interactively explore the logged data in a W&B Table after logging it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.