End of the training