Fix identity gradient.
Reduce minibatch size for model validation.