validation error abort in training