TensorBoard PR Curve

The tensorboard_pr_curve.py example demonstrates the integration of ClearML into code which uses TensorFlow and TensorBoard. It creates three classes, R, G, and B, and generates colors within the RGB space from normal distributions. The true label of each random color is associated with the normal distribution that generated it. Using three other normal distributions, the example code computes the probability that each color belongs to the class. The example uses those probabilities to generate PR curves. Using tensorboard.plugins.pr_curve.summary, the example code create a summary per class. ClearML automatically logs the TensorBoard output, as well as the TensorFlow Definitions and output to the console. When the script runs, it creates an experiment named tensorboard pr_curve, which is associated with the examples project.

Plots

In the ClearML Web UI, the PR Curve summaries appears in RESULTS > PLOTS.

  • Blue PR curves image

  • Green PR curves image

  • Red PR curves image

Hyperparameters

ClearML automatically logs TensorFlow Definitions. They appear in CONFIGURATIONS > HYPER PARAMETERS > TF_DEFINE.

image

Log

All other console output appears in RESULTS > LOG.

image