Living body detection method combining masked convolution and negative sample feature sequence
By combining the method of masked convolution and negative sample feature sequence, the problem that feature extraction and classification in the existing technology is susceptible to noise is solved, the accuracy and robustness of living body detection are improved, and the generalization performance of the model is enhanced. , achieving effective capture and differentiation of facial details and texture features.
Patent Information
- Application Number
- CN202411060218.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-05
AI Technical Summary
Existing live body detection technology tends to ignore detailed information during feature extraction and classification, is affected by noise, and has insufficient generalization capabilities, making it difficult to accurately distinguish real and fake faces.
The method combines mask convolution and negative sample feature sequence, extracts features through the encoder, uses the learnable mask convolution module to weight the convolution operation, and combines the classifier with negative sample feature sequence to dynamically update the feature space and enhance the features. expressive ability and anti-interference ability.
It improves the accuracy and robustness of live detection, enhances the generalization performance of the model, can effectively suppress noise interference and capture details and texture features in faces, and optimizes the decision boundary of the classifier.
Smart Images

Figure CN118587779B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer vision, and in particular to a living body detection method combining mask convolution and negative sample feature sequence. Background Art
[0002] Liveness detection is a method used to verify identity, which aims to determine the true physiological characteristics of the subject. Liveness detection plays an important role in face recognition and can effectively resist various common attack methods. By performing liveness detection on users, their authenticity can be ensured, thereby protecting the interests and safety of users.
[0003] With the development of deep learning, the performance of liveness detection methods based on deep neural networks has been greatly improved. This type of method uses convolutional neural networks to learn highly discriminative features from large-scale face datasets. The convolutional neural networks used include: residual learning network, center difference convolutional network, LSTM, and adversarial generation network. Although liveness detection technology has made significant progress, there are still some defects, such as:
[0004] The weighted summation of standard convolution tends to ignore detail information and is easily affected by noise, which reduces the discriminability of the extracted texture features and makes it impossible to accurately distinguish between real and fake faces. The classification space learned by the standard classifier is not robust enough, and its decision boundary cannot effectively separate positive and negative samples.
[0005] Current liveness detection algorithms exhibit poor robustness and insufficient generalization capabilities when faced with attack scenarios that have never occurred before.
[0006] In view of this, the present invention is developed by deeply considering the many deficiencies and inconveniences caused by the imperfection of the existing liveness detection technology, and actively researching and improving the trial production to develop the present invention. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a liveness detection method that combines masked convolution and negative sample feature sequences, which can improve the expressiveness, discriminability and anti-interference ability of features and the generalization performance of liveness detection models.
[0008] In order to achieve the above object, the solution of the present invention is:
[0009] A method for liveness detection combining mask convolution and negative sample feature sequence, comprising the following steps:
[0010] Obtain a facial image of the user to be detected;
[0011] After preprocessing, the face image is input into the liveness detection model deployed in the face recognition system after learning, training, reasoning and evaluation;
[0012] The liveness detection model performs real-time reasoning on the input face image of the user to be detected and outputs the result of whether the user is alive or not;
[0013] The liveness detection model uses a deep neural network structure to accurately distinguish between true and false faces in images through the cooperation of three modules: an encoder, a learnable mask convolution module, and a classifier with a negative sample feature sequence. The liveness detection model learning process includes the following steps:
[0014] Step 1: Input the image of the training sample and extract the feature representation through the encoder for subsequent processing and classification;
[0015] Step 2: The learnable masked convolution module uses convolution, pooling, fully connected layer operations and Gaussian functions to generate a mask with the same size as the convolution kernel and related to the width W and height H dimensional information of the input feature map, and then multiplies the mask by the convolution kernel element by element to achieve weighted convolution operation;
[0016] Step 3: Use a classifier with a negative sample feature sequence to dynamically update and store negative sample information and compare it with the positive sample, increase the distance between positive and negative samples, and learn a robust feature space that is easy to distinguish between positive and negative samples.
[0017] Furthermore, in step 2, the learnable mask convolution module obtains a tensor related to the width W and height H dimensional information of the input tensor according to the input tensor and the 2D Gaussian function formula. and tensors , tensor and tensors The calculation method includes the following steps:
[0018] Step A1: Assume the input tensor The shape is [C, H, W] (ignoring the batch size dimension). C is the channel, H is the height, and W is the width. After the dimensionality reduction of the convolution module, it becomes a tensor of shape [C / 2, H, W]. ,
[0019]
[0020] in, is a nonlinear activation function, BN is batch normalization, and Conv is a convolutional layer;
[0021] Step A2: Transform the tensor along the dimensions of height H and width W Perform adaptive average pooling ( ), get the pooled tensor and , the shapes are [C / 2,1,W] and [C / 2,H,1] respectively,
[0022]
[0023]
[0024] Calculate the tensors separately and The standard deviation of , resulting in a tensor of shape [C / 2,1] and , and reshape the features respectively, and the shapes after reshaping are all [C / 2],
[0025]
[0026]
[0027] in, Indicates the calculation of standard deviation, and the view function means reshaping the tensor without changing the total number of tensor elements;
[0028] Step A3: Tensor and After passing through the fully connected layer and the ReLU activation layer, the output becomes a tensor with a shape of [1] and is non-negative. and ,
[0029]
[0030]
[0031] At this point, we have obtained the same tensor as the input A tensor with width W and height H dimensional information and tensors .
[0032] Furthermore, in step 3, in the learnable mask convolution module, the learnable mask convolution adaptively generates a mask with the same size as the convolution kernel according to the input tensor and the 2D Gaussian function formula. , by combining the weights of the standard convolution with the Multiply and adjust the weight of the standard convolution to adaptively capture the details and texture features in the face image;
[0033] Learnable Masks The calculation method includes the following steps:
[0034] Step B1: The tensor in the 2D Gaussian function has been obtained through step 2 and , assuming and is the center of the convolution kernel, x and y represent the location coordinates of the feature map, then The calculation formula is as follows,
[0035]
[0036] Step B2: After normalization, we can get a learnable ,
[0037]
[0038] in, represents the sum operation;
[0039] Step B3: Change the weight of the standard convolution kernel With learnable masks After multiplication, we get the weighted convolution kernel weight ,
[0040] .
[0041] Furthermore, the process of the classifier with negative sample feature sequence includes the following steps:
[0042] Step C1, reshape input features ( ), and get the feature , the shape is [N, 256], the normalized reshaped feature vector is obtained , in order to reduce the impact of image quality on classification results,
[0043]
[0044]
[0045] in, Indicates normalization processing;
[0046] Step C2: Assume that the center of the positive sample is ,feature The shape is [256,1], normalize the center of the positive sample, so that the algorithm optimization focuses on the feature map, and find the feature and The cosine similarity of ,
[0047]
[0048]
[0049] Among them, Normalize means data standardization, represents matrix multiplication, Indicates limiting the value between -1 and 1;
[0050] Step C3: Assume that the negative sample feature sequence is , the shape is [256,256], where the first 256 is the sequence length. If the number of cached negative sample features is greater than the sequence length, new negative sample features are added after removing the early negative sample features. The second 256 is The length of the space, find the characteristics and The cosine similarity of , and take the score that is most similar to each input feature ,
[0051]
[0052]
[0053] Step C4: Select samples whose cosine similarity score between the input negative samples and the positive sample center is less than -0.25, and add them to the negative sample feature sequence ,
[0054]
[0055] Step C5: Concatenate two cosine similarity scores , the shape after splicing is [N,2]; according to the cosine similarity score and label after splicing , calculate the cross entropy loss ,
[0056]
[0057]
[0058] in, Indicates feature splicing processing; is the input sample size; For labels;
[0059] Step C6: Calculate the cross entropy loss After that, the center of the positive sample and the input features can be updated through gradient back propagation Related parameters.
[0060] Furthermore, when the liveness detection model is inferencing or real-time inference, the input sample image or the face image to be detected is converted into a two-dimensional tensor with a shape of [N, 256] after being processed by the encoder, the learnable mask convolution module, and the feature reshaping. Subsequently, the two-dimensional tensor is matrix multiplied with the optimized positive sample center to obtain a liveness score with a shape of [N, 1]. If the liveness score is greater than 0, the input is judged to be a real person, and if it is less than 0, it is judged to be a prosthesis.
[0061] Furthermore, during the training of the liveness detection model, before the image of the training sample is input into the liveness detection model to be trained, it is necessary to use random rotation, random flipping, random image disruption by patch, adding Gaussian noise and random contrast enhancement methods to process the input image to improve the richness of the training sample. Subsequently, the input image is normalized to limit the pixel value of the image between 0 and 1.
[0062] The training cycle of the model is 200 epochs, that is, when the model is trained to 200 epochs, the model loss has converged, the batch size is 1024, the learning rate is 0.01, the optimizer is SGD, the momentum is 0.9, and the optimizer adjustment strategy is StepLR.
[0063] After adopting the above scheme, the present invention combines mask convolution and negative sample feature sequence liveness detection method to extract features through the encoder, use the learnable mask convolution module weighted convolution operation, and combine with the classifier with negative sample feature sequence to perform accurate liveness detection. This method can effectively improve the accuracy and robustness of liveness detection, and has the following advantages compared with the existing technical solutions:
[0064] The learnable mask convolution module of the present invention utilizes operations such as convolution, pooling, fully connected layers, and Gaussian functions to obtain an optimizable mask. After multiplying the mask by the convolution, different weights can be assigned to pixels at different positions, adaptively capturing detail information in the image and suppressing noise and interference in the image (such as noise from the image acquisition device, changes in illumination, etc.), making texture features more obvious, and enhancing the discriminability of the learned texture features, thereby improving the expressiveness, discriminability, and anti-interference ability of the features, and can effectively suppress noise interference and learn details and texture information in the face, can achieve noise suppression and adaptively capture details and texture features in face images, and enhance the discriminability of the learned texture features.
[0065] The classifier with negative sample feature sequence of the present invention can dynamically cache the attack negative sample features, further increase the distance between positive and negative samples, optimize the decision boundary of the classifier, and learn a more robust feature space to enhance the generalization ability of the model. During training, the negative sample feature sequence provides additional information for the model, allowing the model to learn a more discriminative feature space, optimize the decision boundary of the classifier, and improve the judgment ability of the liveness detection algorithm; during reasoning, only the cosine similarity between the feature and the center of the positive sample needs to be calculated, without adding additional calculations; the use of the classifier with negative sample feature sequence enables the algorithm to learn a more robust feature space, and its decision boundary can effectively distinguish between positive and negative samples, thereby improving the generalization performance of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a schematic diagram of the overall framework of the present invention.
[0067] Figure 2 For the present invention and The calculation process of .
[0068] Figure 3 This is a structural diagram of the classifier with negative sample feature sequence of the present invention. DETAILED DESCRIPTION
[0069] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.
[0070] The present invention discloses a living body detection device combining mask convolution and negative sample feature sequence, which utilizes a deep neural network structure and cooperates with three modules including an encoder, a learnable mask convolution module and a classifier with negative sample feature sequence to accurately distinguish between true and false faces in images.
[0071] First, the encoder is used to extract the feature representation of the input image. It uses a deep convolutional neural network structure to convert the input image into a high-dimensional feature vector through multi-layer convolution, batch normalization, and ReLU operations. The role of the encoder is to extract key features in the image for subsequent processing and classification.
[0072] Next, the learnable masked convolution module is one of the key innovations of the present invention. The learnable masked convolution module uses operations such as convolution, pooling, fully connected layers, and Gaussian functions to generate a mask that is the same size as the convolution kernel and is related to the W (width) and H (height) dimensional information of the input feature map, and then multiplies the mask by the convolution kernel element by element to achieve weighted convolution operations. The role of this weighting is to assign different weights to pixels at different positions during convolution to achieve the effect of smoothing the image or emphasizing specific areas. Through the learnable masked convolution module, it is possible to apply smaller weights to pixels farther from the center and larger weights to pixels closer to the center during the convolution process, so that the convolution operation pays more attention to the information around the center pixel. In addition, the learnable masked convolution helps to reduce image noise, so that texture details can be presented more clearly, improving the accuracy of liveness detection.
[0073] Finally, the present invention also introduces a classifier with a negative sample feature sequence, which uses the negative sample feature sequence to dynamically update and store negative sample information and compare it with the positive sample, thereby widening the distance between positive and negative samples and learning a robust feature space that is easy to distinguish between positive and negative samples, thereby enhancing the robustness and generalization ability of the classifier.
[0074] like Figure 1 As shown in the figure, the size of the input sample image is [N, 3, 256, 256]. After passing through the encoder, the size of the feature map becomes [N, 64, 64, 64]; then, after passing through the learnable mask convolution module to further extract more discriminative features, the size of the feature map becomes [N, 1, 16, 16]; finally, the features are input into the classifier with negative sample feature sequence for classification, and the judgment result of liveness detection can be obtained.
[0075] In summary, the overall idea of the present invention is to extract features through an encoder, use a learnable mask convolution module to perform weighted convolution operations, and combine a classifier with a negative sample feature sequence to perform accurate liveness detection. This method can effectively improve the accuracy and robustness of liveness detection.
[0076] Next, the implementation principles of learnable masked convolution and classifiers with negative sample feature sequences as well as the model training and inference process will be introduced in detail.
[0077] Compared with standard convolution, learnable masked convolution adaptively generates a mask with the same size as the convolution kernel according to the input tensor and the 2D Gaussian function formula. By combining the weights of the standard convolution with the Multiply and adjust the weights of the standard convolution to adaptively capture the details and texture features in the face image.
[0078] like Figure 2As shown, the tensor in the Gaussian function is calculated and tensors The method comprises the following steps:
[0079] Step A1: Assume the input tensor The shape is [C, H, W] (ignoring the batch size dimension). C is the channel, H is the height, and W is the width. After the dimensionality reduction of the convolution module, it becomes a tensor of shape [C / 2, H, W]. ,
[0080]
[0081] is a nonlinear activation function, BN is batch normalization, and Conv is a convolutional layer;
[0082] Step A2: Transform the tensor along the dimensions of height H and width W Perform adaptive average pooling ( ), get the pooled tensor and , the shapes are [C / 2,1,W] and [C / 2,H,1] respectively,
[0083]
[0084]
[0085] Calculate the tensors separately and The standard deviation of , resulting in a tensor of shape [C / 2,1] and , and reshape the features respectively, and the shapes after reshaping are all [C / 2],
[0086]
[0087]
[0088] in, It means calculating the standard deviation, and the view function means reshaping the tensor without changing the total number of tensor elements.
[0089] Step A3: Tensor and After passing through the fully connected layer and the ReLU activation layer, the output becomes a tensor with a shape of [1] and is non-negative. and ,
[0090]
[0091]
[0092] At this point, we have obtained the same tensor as the input Tensor with W and H dimensional information and tensors .
[0093] Learnable Masks The calculation method includes the following steps:
[0094] Step B1: The tensor in the 2D Gaussian function has been obtained through the previous step and , assuming and is the center of the convolution kernel (the response at the center is the largest), x and y represent the position coordinates of the feature map, then The calculation formula is as follows,
[0095]
[0096] Step B2: After normalization, we can get a learnable , thereby avoiding the influence of too large or too small weights,
[0097]
[0098] in, Represents a sum operation.
[0099] Step B3: Change the weight of the standard convolution kernel With learnable masks After multiplication, the weighted convolution kernel weight can be obtained ,
[0100] .
[0101] The principle of the classifier with negative sample feature sequence. The present invention uses the negative sample feature sequence to provide additional negative sample information for the model, optimize the decision boundary, enhance the judgment ability of the classifier, and improve the generalization ability of the liveness detection algorithm in unknown scenarios. The process of the classifier with negative sample feature sequence is as follows Figure 3 As shown, the following steps are included:
[0102] Step C1, reshape input features ( ), and get the feature , the shape is [N, 256]. Normalize the reshaped feature vector to get the feature , in order to reduce the impact of image quality on classification results,
[0103]
[0104]
[0105] in, Indicates normalization processing.
[0106] Step C2: Assume that the center of the positive sample is ,feature The shape is [256,1]. Normalize the center of the positive sample so that the algorithm optimization focuses on the feature map. Find the feature and The cosine similarity of ,
[0107]
[0108]
[0109] Among them, Normalize means data normalization, represents matrix multiplication, Indicates that the value is limited to between -1 and 1.
[0110] Step C3: Assume that the negative sample feature sequence is , the shape is [256,256], where the first 256 is the sequence length (if the number of cached negative sample features is greater than the sequence length, new negative sample features are added after removing the early negative sample features), and the second 256 is The length of the space. Find the characteristic and The cosine similarity of , and take the score that is most similar to each input feature ,
[0111]
[0112]
[0113] Step C4: Select samples whose cosine similarity score between the input negative samples and the positive sample center is less than -0.25, and add them to the negative sample feature sequence ,
[0114]
[0115] Step C5: Concatenate two cosine similarity scores , the shape after splicing is [N,2]. According to the cosine similarity score and label after splicing , calculate the cross entropy loss ,
[0116]
[0117]
[0118] in, Indicates feature splicing processing; is the input sample size; For label.
[0119] Step C6: Calculate the cross entropy loss After that, the center of the positive sample and the input features can be updated through gradient back propagation Related parameters.
[0120] During model training, before the training sample images are input into the liveness detection model to be trained, they need to be processed using methods such as random rotation, random flipping, random shuffling of images by patch, adding Gaussian noise, and random contrast enhancement to improve the richness of the training samples. Subsequently, the input images are normalized to limit the pixel values of the images to between 0 and 1.
[0121] The training cycle of the model is 200 epochs (when the model is trained to 200 epochs, the model loss has converged), the batch size is 1024, the learning rate is 0.01, the optimizer is SGD, the momentum is 0.9, and the optimizer adjustment strategy is StepLR.
[0122] During model inference, the image is normalized before being input into the model. After being processed by the encoder, the learnable mask convolution module, and feature reshaping, the input image becomes a two-dimensional tensor with a shape of [N, 256]. Subsequently, the two-dimensional tensor is matrix-multiplied with the optimized positive sample center to obtain a liveness score with a shape of [N, 1]. If the liveness score is greater than 0, the input is judged to be real, and if it is less than 0, it is judged to be a fake.
[0123] The present invention realizes noise suppression and adaptively captures details and texture features in face images through learnable mask convolution, thereby enhancing the distinguishability of learned texture features.
[0124] When training a classifier with a negative sample feature sequence, the negative sample feature sequence provides additional information for the model, allowing the model to learn a more discriminative feature space, optimize the decision boundary of the classifier, and improve the judgment ability of the liveness detection algorithm; during reasoning, only the cosine similarity between the feature and the center of the positive sample needs to be calculated, without adding additional calculations.
[0125] The above embodiments and drawings do not limit the product form and style of the present invention. Any appropriate changes or modifications made by ordinary technicians in the relevant technical field should be deemed to be within the patent scope of the present invention.
Claims
1. A method for liveness detection combining masked convolution and negative sample feature sequence, characterized in that: The following steps are involved: Obtain a facial image of the user to be detected; After preprocessing, the face image is input into the liveness detection model deployed in the face recognition system after learning, training, reasoning and evaluation; The liveness detection model performs real-time reasoning on the input face image of the user to be detected and outputs the result of whether the user is alive or not; The liveness detection model uses a deep neural network structure to accurately distinguish between true and false faces in images through the cooperation of three modules: an encoder, a learnable mask convolution module, and a classifier with a negative sample feature sequence. The liveness detection model learning process includes the following steps: Step 1: Input the image of the training sample and extract the feature representation of the image through the encoder for subsequent processing and classification; Step 2: The learnable masked convolution module uses convolution, pooling, fully connected layer operations and Gaussian functions to generate a mask with the same size as the convolution kernel and related to the width W and height H dimensional information of the input feature map, and then multiplies the mask by the convolution kernel element by element to achieve weighted convolution operation; The learnable masked convolution module obtains a tensor related to the width W and height H dimensional information of the input tensor according to the input tensor and the 2D Gaussian function formula and tensors , tensor and tensors The calculation method includes the following steps: Step A1: Assume the input tensor The shape is [C, H, W], where C is the channel, H is the height, and W is the width. After the dimensionality reduction of the convolution module, it becomes a tensor of shape [C / 2, H, W]. , in, is a nonlinear activation function, BN is batch normalization, and Conv is a convolutional layer; Step A2: Transform the tensor along the dimensions of H and W Perform adaptive average pooling , get the pooled tensor and , the shapes are [C / 2,1,W] and [C / 2,H,1] respectively, Calculate the tensors separately and The standard deviation of , resulting in a tensor of shape [C / 2,1] and , and reshape the features respectively, and the shapes after reshaping are all [C / 2], in, Indicates the calculation of standard deviation, and the view function means reshaping the tensor without changing the total number of tensor elements; Step A3: Tensor and After passing through the fully connected layer FC and the ReLU activation layer, the output becomes a tensor with a shape of [1] and is non-negative. and , At this point, we have obtained the same tensor as the input A tensor with width W and height H dimensional information and tensors ; Step 3: Use a classifier with a negative sample feature sequence to dynamically update and store negative sample information and compare it with the positive sample, increase the distance between positive and negative samples, and learn a robust feature space that can easily distinguish between positive and negative samples in the image. The process of classifying with negative sample feature sequences includes the following steps: Step C1: Reshape input features , get the features , the shape is [N, 256], the normalized reshaped feature x is obtained , in order to reduce the impact of image quality on classification results, in, Indicates normalization processing; Step C2: Assume that the center of the positive sample is ,image The shape is [256, 1], normalize the positive sample center, and get the feature , find the characteristics and The cosine similarity of , Among them, Normalize means data normalization, represents matrix multiplication, Indicates that the value is limited to between -1 and 1; Step C3: Assume that the negative sample feature sequence is , the shape is [256,256], where the first 256 is the sequence length. If the number of cached negative sample features is greater than the sequence length, new negative sample features are added after removing the early negative sample features. The second 256 is The length of the space, find the characteristics and The cosine similarity of , and take the score that is most similar to each input feature , ; Step C4: From the input negative sample Select samples whose cosine similarity score with the center of positive samples is less than -0.25 and add them to the negative sample feature sequence , ; Step C5: Concatenate two cosine similarities and , and get the cosine similarity score , the shape after splicing is [N,2]; according to the cosine similarity score after splicing and tags , calculate the cross entropy loss , in, Indicates feature splicing processing; is the input sample size; For labels; Step C6: Calculate the cross entropy loss After that, the positive sample center and the input features are updated through gradient back propagation Related parameters.
2. The method for liveness detection combining masked convolution and negative sample feature sequence as claimed in claim 1, characterized in that: In step 3, in the learnable mask convolution module, a learnable mask with the same size as the convolution kernel is adaptively generated based on the input tensor and the 2D Gaussian function formula. , by combining the weights of the standard convolution with this learnable mask Multiply and adjust the weight of the standard convolution to adaptively capture the details and texture features in the face image; Learnable Masks The calculation method includes the following steps: Step B1: The tensor in the 2D Gaussian function has been obtained through step 2 and , assuming and is the center of the convolution kernel, x and y represent the position coordinates of the feature map, then the learnable mask The calculation formula is as follows, Step B2: Learnable Mask After normalization, we can get a learnable mask with weights between 0 and 1. , in, represents the sum operation; Step B3: Change the weight of the standard convolution kernel with a learnable mask with weights between 0 and 1 After multiplication, we get the weighted convolution kernel weight , 。 3. The method for liveness detection combining masked convolution and negative sample feature sequence as claimed in claim 1, characterized in that: When the liveness detection model is inferencing or real-time inference, the input sample image or the face image to be detected is processed by the encoder, the learnable mask convolution module and the feature reshaping to become a two-dimensional tensor with a shape of [N, 256]. Subsequently, the two-dimensional tensor is matrix multiplied with the optimized positive sample center to obtain a liveness score with a shape of [N, 1]. If the liveness score is greater than 0, the input is judged to be a real person, and if it is less than 0, it is judged to be a prosthesis.
4. The method for liveness detection combining masked convolution and negative sample feature sequence as claimed in claim 1, characterized in that: During the training of the liveness detection model, before the image of the training sample is input into the liveness detection model to be trained, it is necessary to use random rotation, random flipping, random image shuffling by patch, adding Gaussian noise and random contrast enhancement methods to process the input image to improve the richness of the training sample. Then, the input image is normalized to limit the pixel value of the image between 0 and 1. The training cycle of the model is 200 epochs, that is, when the model is trained to 200 epochs, the model loss has converged, the batch size is 1024, the learning rate is 0.01, the optimizer is SGD, the momentum is 0.9, and the optimizer adjustment strategy is StepLR.
