Split evaluation and training code