Fix printout of the epochs on model page during checkpoint resume.