util.plot_utils

Plotting utilities to visualize training logs.

Functions

plot_logs(logs[, fields, ewm_col, log_name])

Function to plot specific fields from training log(s). Plots both training and test results.

Module Contents

util.plot_utils.plot_logs(logs, fields=('class_error', 'loss_bbox_unscaled', 'mAP'), ewm_col=0, log_name='log.txt')[source]

Function to plot specific fields from training log(s). Plots both training and test results.

:: Inputs - logs = list containing Path objects, each pointing to individual dir with a log file
  • fields = which results to plot from each log file - plots both training and test for each field.

  • ewm_col = optional, which column to use as the exponential weighted smoothing of the plots

  • log_name = optional, name of log file if different than default ‘log.txt’.

:: Outputs - matplotlib plots of results in fields, color coded for each log file.
  • solid lines are training results, dashed lines are test results.