Plotting train accuracy and loss with Trainer

Hi,

Refer to this thread: Metrics for Training Set in Trainer