parameters: (train_log, out_dir)
docstring: plot mbox loss trends of train logs
docstring_summary: plot mbox loss trends of train logs
docstring_tokens: plot mbox loss trends of train logs
function: def plot_mbox_loss_trends(train_log, out_dir):
      '''plot mbox loss trends of train logs'''
      if not train_log.is_detection: return
      y_items = {'mbox loss' : train_log.mbox_losses}
      x_items = {'Iterations' : train_log.iterations}
      plot_trend = PlotTrend(y_items, x_items, out_dir)
      plot_trend.plot()
function_tokens: def plot_mbox_loss_trends ( train_log , out_dir ) : if not train_log . is_detection : return y_items = { 'mbox loss' : train_log . mbox_losses } x_items = { 'Iterations' : train_log . iterations } plot_trend = PlotTrend ( y_items , x_items , out_dir ) plot_trend . plot ( )