The invention discloses a face recognition method based
deep learning and a face recognition device thereof and
electronic equipment. The method comprises the steps that a
convolutional neural network model is constructed, and the
convolutional neural network model comprises a first
convolution unit, a first
pooling layer, multiple
convolution combinations, a second
pooling layer and full connection
layers which are connected in turn, wherein the first
convolution unit comprises a first convolution layer, a batch normalization layer and an
excitation function layer, the
excitation function layer simultaneously uses a ReLU function and a NReLU function to act as the
excitation function, and the adjacent convolution combinations are connected by the
short circuit layer of the residual network; and the
convolutional neural network model is trained, the training data are inputted to the convolutional neural
network model and training is performed by using the
stochastic gradient descent method, and the last full connection layer is removed out of the trained convolutional neural
network model and then only
forward propagation is performed so as to act as the face
feature data required for face recognition. ReLU + NReLU are used as the excitation function so that the computational burden can be reduced, the accuracy can be guaranteed, the model size can be reduced and the operation speed can be enhanced.