class_docstr: Poutyne is a keras-like api framework for pytorch
docstr: Create metric names
docstr_tok: ["Create","metric","names"]
code: def on_train_begin(self, logs):
      """Create metric names"""
      metrics = ["loss"] + self.model.metrics_names
      self.metrics = list(metrics)
      self.metrics += ["val_" + metric for metric in metrics]
  
file_path: livelossplot/livelossplot/inputs/poutyne.py
imports: from typing import Dict
  from poutyne.framework import Callback
  from ..plot_losses import PlotLosses
label_desc: Use image node_id 2 for calling the PlotLossesCallback obj's underlying member method code with example usage: obj.on_train_begin(logs) without return types