Gait Recognition with Mask-based Regularization