Create graph that displays the training and validation losses, in function of the training epoch of the model.