Discriminative unsupervised cross-domain person re-identification method based on class center domain alignment
Through a method based on class center domain alignment, combined with CNN skeleton network and adversarial learning, the problem of relying on labeled data and insufficient supervision information of clustering results in cross-domain unsupervised person re-identification is solved, achieving more efficient cross-domain adaptability and Recognition accuracy.
Patent Information
- Application Number
- CN202110669014.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-06-16
AI Technical Summary
Existing cross-domain unsupervised person re-identification methods have the problem of relying on a large amount of labeled data in cross-domain adaptability and model training, and the supervision information of the clustering results is insufficient, which limits its application.
A discriminative unsupervised cross-domain person re-identification method based on class center domain alignment is used to extract features through the CNN skeleton network, perform classification and clustering learning, dynamic pseudo-label assignment, and combine with adversarial learning to optimize the network to achieve domain alignment.
It improves the cross-domain adaptability of the model and the discriminability of the output pedestrian representation, reduces the dependence on labeled data, and improves the network convergence speed and recognition accuracy.
Smart Images

Figure CN113553906B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of pedestrian re-identification, and specifically relates to a discriminative unsupervised cross-domain pedestrian re-identification method based on class center domain alignment. Background Art
[0002] Person Re-identification (Re-ID) is an important research field in computer vision and machine learning, and is also an important part of the intelligent security system. The concept of "re-identification" (i.e., cross-camera tracking) originated from multi-target pedestrian tracking, which refers to the target that appears in the current camera and returns. Later, it was gradually extended to the technology of using computer vision methods to determine whether there is a specific pedestrian in an image or video sequence. The pedestrian re-identification task mainly focuses on the problem of pedestrian identity verification in different scenarios, and can answer core questions of interest in intelligent video surveillance systems, such as "who is it and where is it". By integrating surveillance data from multiple perspectives, re-identification technology can effectively make up for the visual limitations of the camera and provide a complete solution for wide-area target search and retrieval in the surveillance network.
[0003] Cross-domain unsupervised person re-identification refers to learning a person re-identification model without training labels in the target domain, which has a wider range of application scenarios. In recent years, with the breakthrough of a new generation of artificial intelligence technologies represented by deep learning, existing research work has used methods such as transfer learning, adversarial learning, and memory models to enhance the generalization ability of the model across domains and improve its performance on unlabeled target datasets. Although effective, most of these methods integrate neighborhood invariance into the learning process and optimize the network model through K-nearest neighbor supervision information, while ignoring global discriminant information. In addition, most unsupervised domain adaptation methods hold a basic assumption that the classes in the source domain are the same as those in the target domain, so they cannot be directly applied to cross-domain person re-identification tasks.
[0004] With the booming research on deep unsupervised learning and related applications, deep clustering learning has also achieved certain results. By jointly learning embedded representations and clustering results, on the one hand, good representations are conducive to clustering, and on the other hand, clustering results can enhance representations. Therefore, another route for cross-domain unsupervised person re-identification is to use a clustering framework to promote the learning of discriminative representations. They assume that the training data has a specific clustering structure, so they use clustering results to guide the model. They usually use adaptive strategies to iteratively improve the discriminative learning of features. However, the supervision information generated by the clustering results only encodes the similarity of unlabeled data, while ignoring the supervision information of the existing annotations, which limits its application. Summary of the invention
[0005] In order to solve the above technical problems existing in the prior art, the present invention provides a discriminative unsupervised cross-domain pedestrian re-identification method based on class center domain alignment, which solves the problem that the pedestrian re-identification model depends on a large amount of labeled data under a specific monitoring network and the cross-domain adaptability of the model. The specific technical solution is as follows:
[0006] The discriminative unsupervised cross-domain person re-identification method based on class center domain alignment includes the following steps:
[0007] Step 1: Prepare source domain samples and target domain samples, send the source domain samples and target domain samples into the CNN skeleton network, and extract pedestrian image features;
[0008] Step 2: Classify and learn the pedestrian image features in the source domain to obtain the category center, and cluster and learn the pedestrian image features in the target domain to obtain the cluster center;
[0009] Step 3: After obtaining reliable samples based on the clustering loss, dynamically assign pseudo labels to the unlabeled samples and calculate the corresponding clustering loss;
[0010] Step 4: Perform adversarial learning on the category center and cluster center and calculate the domain alignment loss;
[0011] Step 5: Back propagate the gradient, optimize the network, output and test the person re-identification model.
[0012] Furthermore, the step 1 specifically includes the following steps:
[0013] Step T1-1, suppose are N labeled source domain samples, i.e., source data sets, where x and y are the corresponding samples and labels, respectively. There are M unlabeled target domain samples, i.e., a target data set, where the categories of the source data set and the target data set do not overlap, and data augmentation operations of cropping and flipping are performed on the pedestrian images of the source data set and the target data set;
[0014] Step T1-2: Input the samples of the source domain and the target domain into the CNN skeleton network at the same time to extract features and obtain the source domain sample feature Z i and target domain sample characteristics
[0015] Furthermore, the step 2 specifically includes the following steps:
[0016] Step T1-3, firstly, the clustering loss and classification loss are expressed uniformly. The classification loss is measured by the difference between the predicted and the true label. The cross entropy loss is defined as:
[0017]
[0018] Among them, w i is the column vector of the last fully connected layer, N represents N labeled source domain samples, exp represents the exponent e, i represents the i-th, j represents the j-th, W represents the column vector of the linear layer of the network classifier, W yj Represents the column vector of the category to which the i-th sample belongs, W j Represents a column vector that does not belong to the current sample category;
[0019] After omitting the bias, the cross entropy loss simplifies to:
[0020]
[0021] When W j After the sample feature Z is regularized, the conditions are relaxed and the exponential operation is removed to obtain the cross entropy form:
[0022]
[0023] Where D(·,·) is the Euclidean distance, and the category center loss is obtained:
[0024]
[0025] That is, the column vector of the fully connected layer;
[0026] Step T1-4, at the same time, the deformation of the cross entropy form is used for the unsupervised clustering loss, and the clustering process of the clustering result is improved by iteration. Specifically, the similarity kernel of the t distribution is considered:
[0027]
[0028] Where D(w j , z i ) is the probability of assigning sample i to cluster center j using soft assignment, W j ' represents the column vector of other categories, j' represents all samples that are not equal to j;
[0029] Optimize the target domain samples, aggregate the target domain samples to their category center and away from other sample centers, then the aggregation loss of soft assignment is:
[0030]
[0031] Where Q(w j , z i ) is the regularized probability, which is defined as follows:
[0032]
[0033] where f j =∑ i D(wj , z i ), the soft assignment is a self-paced learning method that gradually pushes the target domain samples to the center of higher confidence, thereby deriving the unsupervised migration target, classifying the source data set, and clustering the target data set:
[0034]
[0035] λ is a hyperparameter.
[0036] Furthermore, the step three specifically includes the following steps:
[0037] Step T1-5 uses Bernoulli distribution to simulate the process. Through the EM algorithm, reliable samples are selected. Specifically, each sample is assigned to its nearest center point, and its KL loss is calculated to determine whether it is a reliable sample. First, a unique hot target is defined:
[0038]
[0039] Then calculate its loss:
[0040]
[0041] Then, according to its value, it is proposed to learn a weight parameter b i , indicating the degree of belief in the sample, the weight parameter b i The mixture model is used for inference. Specifically, the probability density function of the mixture model for the loss L is defined as:
[0042]
[0043] It adapts a binary GMM or BMM to form a regular and reliable sample distribution, and obtains the posterior probability b = [b1, b2, ..., b N ]:
[0044]
[0045] Step T1-6, when reliable samples and weight coefficient b are obtained i After that, the dynamic assignment clustering loss is:
[0046]
[0047] Furthermore, the step 4 specifically includes the following steps:
[0048] Step T1-7 introduces an adversarial learning loss:
[0049]
[0050] Where D is the discriminator including the fully connected layer and the BN layer, is the target center point generated by clustering loss, ps and pt correspond to the centroid distribution of the source domain and target domain respectively;
[0051] Combined with the discriminator, the dimension of the discriminator output is C+1, where C is the total number of centroid points, and the remaining one is used to distinguish whether it belongs to the source domain. The discriminator introduces L2 regularization and additional terms to obtain gradient information:
[0052]
[0053] ω represents the parameters of the discriminator.
[0054] Furthermore, the step five specifically includes the following steps:
[0055] Step T1-8, using Triplet loss and Cross-Entropy loss, is expressed as To train the data in the source data set, when the process is in the early stage, the present invention uses soft assignment as a component of the total loss; after the model becomes stable, dynamic assignment learning is used to replace the soft assignment, that is, formula (15), and the total loss is:
[0056]
[0057] Among them, λ1, λ2, λ3 are corresponding hyperparameters;
[0058] Step T1-9, stop training after the training loss, and obtain the final pedestrian re-identification model;
[0059] Step T1-10, prepare pedestrian images to be matched, send them to the trained pedestrian re-identification model, extract pedestrian image features, calculate the cosine distance of the pedestrian image features to be matched, sort them according to the distance, and return the pedestrian images with the highest sorting.
[0060] The main difference is that compared with the prior art, the present invention has the following advantages:
[0061] (1) This paper proposes a novel center point discriminative learning framework that unifies the center loss and clustering loss, allowing the model to utilize labeled source domain data and unlabeled discriminative representations.
[0062] (2) The present invention introduces adversarial learning to align sample category centers. Different from the previous feature-level domain alignment method, it provides a loose domain adaptation constraint.
[0063] (3) The present invention proposes a dynamic pseudo-label assignment mechanism. Different from the soft assignment of previous clustering methods, this assignment mechanism adaptively selects reliable samples for hard assignment, which improves the discriminability of features and accelerates network convergence.
[0064] (4) Compared with existing domain adaptation and clustering methods, the method of the present invention improves the discriminability of the output pedestrian representation. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a schematic flow chart of the method of the present invention;
[0066] Figure 2 It is a schematic diagram of the test process of the present invention;
[0067] Figure 3 It is a schematic diagram of the overall system architecture of the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical scheme and technical effect of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0069] like Figure 1 and Figure 3 As shown, the discriminative unsupervised cross-domain pedestrian re-identification method based on class center domain alignment of the present invention comprises the following steps:
[0070] Step T1-1, prepare source domain samples and target domain samples:
[0071] set up are N labeled source domain samples, i.e., source data sets, where x and y are the corresponding samples and labels, respectively. M are unlabeled target domain samples, i.e., the target dataset. It is assumed that the categories of the source dataset and the target dataset do not overlap. The goal of the present invention is to train a convolutional neural network (CNN) so that it can achieve significant recognition accuracy on the target dataset. Before feeding the pedestrian image into the convolutional neural network (CNN), the pedestrian image is firstly subjected to data augmentation such as cropping and flipping.
[0072] Step T1-2, send the samples of the source domain and the target domain into the CNN skeleton network to obtain the pedestrian image features:
[0073] At the same time, the samples of the source domain and the target domain are input into the CNN skeleton network to extract the source domain pedestrian image features and the target domain pedestrian image features, and obtain the source domain sample features Z i and target domain sample characteristics Due to its powerful representation ability, ResNet-50 is selected as the CNN skeleton network in this paper to perform feature extraction and obtain pedestrian image features.
[0074] Step T1-3, classify and learn the source domain pedestrian image features to obtain the category center:
[0075] First, clustering loss and classification loss are expressed in a unified way. The classification loss is measured by the difference between the predicted and true labels, and the cross entropy loss is defined as:
[0076]
[0077] Among them, w i is the column vector of the last fully connected layer, N represents N labeled source domain samples, exp represents the exponent e, i represents the i-th, j represents the j-th, W represents the column vector of the linear layer of the network classifier, W yi Represents the column vector of the category to which the i-th sample belongs, W j Represents a column vector that does not belong to the current sample category;
[0078] After omitting the bias, the cross entropy loss simplifies to:
[0079]
[0080] Intuitively, formula (2) converts Z i Pull it towards the center of the class W yi ,and In essence, the inner product of the class center and the pedestrian image feature is calculated, that is, the distance scale between the vectors is measured, that is, the degree of similarity. When W j After the sample feature Z is regularized, the conditions are relaxed and the exponential operation is removed to obtain the cross entropy form:
[0081]
[0082] Where D(·,·) is the Euclidean distance, ignoring irrelevant category centers, and obtaining the category center loss:
[0083]
[0084] Therefore, by learning the source domain pedestrian image features through cross entropy classification loss, the category center, that is, the column vector of the fully connected layer, can be obtained.
[0085] Step T1-4, cluster the pedestrian image features in the target domain and obtain the cluster center:
[0086] At the same time, the deformation of formula (3) can also be used in unsupervised clustering loss. Its essence is the clustering process of iteratively improving the clustering results. Specifically, consider the similarity kernel of t distribution:
[0087]
[0088] Where D(w j , z i ) can be understood as the probability of using soft assignment to assign sample i to cluster center j, W j ' represents the column vector of other categories, j' represents all samples that are not equal to j;
[0089] Optimizing the target domain samples is similar to formula (3), which aggregates the target domain samples toward their category centers and away from other sample centers. In fact, the aggregation loss of soft assignment is defined as follows:
[0090]
[0091] Where Q(w j , z i ) is the regularized probability, which is defined as follows:
[0092]
[0093] where f j =∑ i D(w j , z i ), the soft assignment is a self-paced learning method that gradually pushes the target domain samples to the center of higher confidence. On this basis, the unsupervised migration target is derived to classify the source data set and cluster the target data set:
[0094]
[0095] Step T1-5, obtain reliable samples based on clustering loss:
[0096] Although formula (6) allows discriminative learning without any supervision, it still suffers from misleading and convergence issues since Re-ID is a fine-grained image recognition task that often requires recognizing thousands of identities. Some samples are difficult to be correctly classified even if given a label, let alone in an unsupervised setting, and learning from these samples will also harm the generalization ability of the model.
[0097] In order to solve the above problems, the present invention makes a simple assumption on the training process. When the training of the source domain data becomes stable, the reliable target domain samples have relatively low clustering loss, while the normal samples do not. Only the loss distribution is used to distinguish reliable samples from difficult samples.
[0098] The present invention adopts Bernoulli distribution to simulate the process and selects reliable samples through EM algorithm.
[0099] Specifically, each sample is assigned to its nearest center point, and its KL loss is calculated to determine whether it is a reliable sample. To achieve this goal, a unique hot target is first defined:
[0100]
[0101] Then calculate its loss:
[0102]
[0103] Then, according to its value, it is proposed to learn a weight parameter b i , indicating the degree of belief in this sample. Inspired by the label noise model, this paper uses a hybrid model to infer b i Specifically, the probability density function of the two-component mixture model for the loss L is defined as:
[0104]
[0105] It can be adapted to a binary GMM or BMM to form a regular and reliable sample distribution. Then, through the standard EM algorithm, the posterior probability can be easily obtained, that is, b = [b1, b2, ..., b N ]:
[0106]
[0107] Step T1-6, dynamically assign pseudo labels to unlabeled samples and calculate the corresponding clustering loss:
[0108] When reliable samples and weight coefficient b are obtained i After that, the dynamic assignment clustering loss of the present invention is as follows:
[0109]
[0110] Step T1-7, perform adversarial learning on the category center and cluster center, and calculate the domain alignment loss:
[0111] Due to the wide range of differences in domain samples, a model that performs well on the source dataset is likely to fail on the target dataset. Therefore, using the adversarial learning framework to alleviate this problem, rather than directly imposing constraints on the embedding, a weaker approach is preferred: imposing adversarial learning on the center point, forcing the sample distributions of the source and target to be indistinguishable may be harsh, and when the target label is missing, it is difficult for the model to learn a mapping to eliminate the gap. Instead, it may be more reasonable to resort to the distribution of some statistics, such as the center point.
[0112] Formally, this invention introduces an adversarial learning loss:
[0113]
[0114] Where D is the discriminator including the fully connected layer and the BN layer, is the target center point generated by clustering loss, p S and p T Corresponding to the centroid point distribution of the source domain and the target domain respectively.
[0115] In addition, since the identities of the source dataset and the target dataset are completely different, the present invention utilizes this prior knowledge and combines it with the discriminator of the present invention. Specifically, the present invention regards each center point of the source dataset and the target dataset as an independent category, and then uses the index as its corresponding label, so that the model can separate them all. In other words, the dimension of the discriminator output is C+1, where C is the total number of centroid points, and the remaining one is used to distinguish whether it belongs to the source domain. In order to further improve the discriminator, L2 regularization and additional terms are introduced to help the discriminator obtain more valuable gradient information:
[0116]
[0117] ω represents the parameters of the discriminator.
[0118] Steps T1-8, gradient back propagation, optimize the network:
[0119] Use Triplet loss and Cross-Entropy loss to represent L classification To train the data in the source data set, when the process is in the early stage, the present invention uses soft assignment as a component of the total loss; after the model becomes stable, the dynamic assignment learning of the present invention is used to replace the soft assignment, that is, formula (15). Formally, the total loss is given as:
[0120]
[0121] Among them, λ1, λ2, λ3 are the corresponding hyperparameters.
[0122] Step T1-9, output the pedestrian re-identification model:
[0123] After the training loss is reached, the training is stopped and the final person re-identification model is obtained.
[0124] Step T1-10, test the network model:
[0125] like Figure 2 As shown, prepare the pedestrian image to be matched, send it to the trained pedestrian re-identification model, extract the pedestrian image features, calculate the cosine distance of the pedestrian image features to be matched, sort them according to the distance, and return the pedestrian images with the highest sorting.
[0126] In summary, the method of the present invention adopts a domain adaptive learning method based on class center confrontation, a data-driven pseudo-label assignment mechanism, an unsupervised / supervised class center deep discriminant learning framework, and a pedestrian image matching search system in a wide-area monitoring scenario. Among them, the unsupervised / supervised class center deep discriminant learning framework takes into account the advantages of unsupervised domain adaptive methods and clustering methods. Its basic idea is to perform unsupervised clustering learning on an unlabeled data set in the target domain, and supervised classification on a labeled data set in the source domain. In order to link independent clustering learning with supervised classification learning, the present invention analyzes the existing classification loss and proves that the center loss and clustering loss can be expressed in a unified mathematical form, so that the class center can serve as a bridge connecting the source domain and the target domain representation learning, and realize the training of a cross-domain pedestrian re-identification model.
[0127] In order to further reduce the differences between cross-domain datasets, class center adversarial learning is introduced to align the feature distributions of the two datasets. It is worth noting that the present invention does not directly impose constraints on the feature level to force the alignment of cross-domain samples, but introduces a weaker adversarial learning mechanism on the class center to avoid mismatching of samples in different visual scenes.
[0128] In addition, existing deep clustering learning methods are specially designed for data sets containing only dozens of categories and cannot be used for fine-grained image classification tasks such as Re-ID. The main reason is that in the early stage of training, only a very small number of samples close to the cluster center are considered to be reliable samples for training, which is misleading. In order to solve the above problems, the present invention proposes a dynamic allocation mechanism to adaptively select reliable samples. At the beginning of training, multiple class centers are assigned to each sample through a soft allocation strategy. When the training becomes stable, the clustering loss of difficult samples is relatively high, while that of simple samples is not. This makes it possible to distinguish them using only the loss distribution, thereby adaptively using hard allocation for those reliable samples. In this case, the mechanism can speed up the convergence of the clustering process while also enhancing the discriminative ability of the representation.
[0129] The above is only a preferred implementation case of the present invention and does not limit the present invention in any form. Although the implementation process of the present invention is described in detail above, for those familiar with the art, they can still modify the technical solutions recorded in the above examples, or replace some of the technical features therein with equivalents. All modifications, equivalent replacements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A discriminative unsupervised cross-domain person re-identification method based on class center domain alignment, characterized in that: The following steps are involved: Step 1: Prepare source domain samples and target domain samples, send the source domain samples and target domain samples into the CNN skeleton network, and extract pedestrian image features; Step 2: Classify and learn the source domain pedestrian image features to obtain the category center, and cluster and learn the target domain pedestrian image features to obtain the cluster center; Step 3: After obtaining reliable samples based on the clustering loss, dynamically assign pseudo labels to the unlabeled samples and calculate the corresponding clustering loss; Step 4: Perform adversarial learning on the category center and cluster center and calculate the domain alignment loss; Step 5: Back propagate the gradient, optimize the network, output and test the person re-identification model; The step 1 specifically includes the following steps: Step T1-1, suppose are N labeled source domain samples, i.e., source data sets, where x and y are the corresponding samples and labels, respectively. There are M unlabeled target domain samples, i.e., a target data set, where the categories of the source data set and the target data set do not overlap, and data augmentation operations of cropping and flipping are performed on the pedestrian images of the source data set and the target data set; Step T1-2: Input the samples of the source domain and the target domain into the CNN skeleton network at the same time to extract features and obtain the source domain sample feature Z i and target domain sample characteristics The step 2 specifically includes the following steps: Step T1-3, firstly, the clustering loss and classification loss are expressed uniformly. The classification loss is measured by the difference between the predicted and the true label. The cross entropy loss is defined as: Among them, w i is the column vector of the last fully connected layer, N represents N labeled source domain samples, exp represents the exponent e, i represents the i-th, j represents the j-th, W represents the column vector of the linear layer of the network classifier, W yi Represents the column vector of the category to which the i-th sample belongs, W j Represents a column vector that does not belong to the current sample category; After omitting the bias, the cross entropy loss simplifies to: When W j After the sample feature Z is regularized, the conditions are relaxed and the exponential operation is removed to obtain the cross entropy form: Where D(·,·) is the Euclidean distance, and the category center loss is obtained: That is, the column vector of the fully connected layer; Step T1-4, at the same time, the deformation of the cross entropy form is used for the unsupervised clustering loss, and the clustering process of the clustering result is improved by iteration. Specifically, the similarity kernel of the t distribution is considered: Where D(w j , z i ) is the probability of assigning sample i to cluster center j using soft assignment, W j ' represents the column vector of other categories, j' represents all samples that are not equal to j; Optimize the target domain samples, aggregate the target domain samples to their category center and away from other sample centers, then the aggregation loss of soft assignment is: Where Q(w j , z i ) is the regularized probability, which is defined as follows: where f j =∑ i D(w j , z i ), the soft assignment is a self-paced learning method that gradually pushes the target domain samples to the center of higher confidence, thereby deriving the unsupervised migration target, classifying the source data set, and clustering the target data set: λ is a hyperparameter.
2. The discriminative unsupervised cross-domain person re-identification method based on class center domain alignment as claimed in claim 1, characterized in that: The step three specifically includes the following steps: Step T1-5 uses Bernoulli distribution to simulate the process. Through the EM algorithm, reliable samples are selected. Specifically, each sample is assigned to its nearest center point, and its KL loss is calculated to determine whether it is a reliable sample. First, a unique hot target is defined: Then calculate its loss: Then, according to its value, it is proposed to learn a weight parameter b i , indicating the degree of belief in the sample, the weight parameter b i The mixture model is used for inference. Specifically, the probability density function of the mixture model for the loss L is defined as: It adapts a binary GMM or BMM to form a regular and reliable sample distribution, and obtains the posterior probability b = [b1, b2, ..., b N ]: Step T1-6, when reliable samples and weight coefficient b are obtained i After that, the dynamic assignment clustering loss is:
3. The discriminative unsupervised cross-domain person re-identification method based on class center domain alignment as claimed in claim 2, characterized in that: The step 4 specifically includes the following steps: Step T1-7 introduces an adversarial learning loss: Where D is the discriminator including the fully connected layer and the BN layer, is the target center point generated by clustering loss, ps and pt correspond to the centroid distribution of the source domain and target domain respectively; Combined with the discriminator, the dimension of the discriminator output is C+1, where C is the total number of centroid points, and the remaining one is used to distinguish whether it belongs to the source domain. The discriminator introduces L2 regularization and additional terms to obtain gradient information: ω represents the parameters of the discriminator.
4. The discriminative unsupervised cross-domain person re-identification method based on class center domain alignment as claimed in claim 3, characterized in that The step five specifically includes the following steps: Steps T1-8 are expressed as Tripletloss and Cross-Entropyloss: To train the data in the source data set, when the process is in the early stage, the present invention uses soft assignment as a component of the total loss; after the model becomes stable, dynamic assignment learning is used to replace the soft assignment, that is, formula (15), and the total loss is: Among them, λ1, λ2, λ3 are corresponding hyperparameters; Step T1-9, stop training after the training loss, and obtain the final pedestrian re-identification model; Step T1-10, prepare pedestrian images to be matched, send them to the trained pedestrian re-identification model, extract pedestrian image features, calculate the cosine distance of the pedestrian image features to be matched, sort them according to the distance, and return the pedestrian images with the highest sorting.
Citation Information
Patent Citations
Unsupervised cross-domain self-adaptive medical image segmentation method based on deep adversarial learning
AU2020103905A4
Unsupervised pedestrian re-identification method and system based on deep clustering and sample learning
CN111401281A
