Cross-domain attitude estimation method based on skeleton graph structure constraint and application
Through the cross-domain pose estimation method based on the skeleton graph structure, high-precision pseudo labels and feature alignment are generated, which solves the problem of poor performance of the pose estimation model in unlabeled data scenarios and improves the performance and performance of the model in unsupervised domain adaptation. Transfer training effect.
Patent Information
- Application Number
- CN202410831918.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing cross-domain pose estimation models perform poorly in unlabeled data scenarios, and pseudo-labels obtained by methods based on pseudo-label generation have low accuracy and high noise, which affects the effect of model transfer training.
A cross-domain pose estimation method based on skeleton graph structural constraints is used to generate high-precision pseudo labels by constructing skeleton graph positive and negative comparison samples, graph comparison learning network, heat map regression model and domain adaptation training model, and using the graph comparison model and The Transformer mechanism performs feature alignment and reduces the impact of domain differences.
In unsupervised domain adaptation, the pose estimation performance of the model on unlabeled data is effectively improved, the accuracy of pseudo labels and the accuracy of transfer training are improved, and the impact of domain differences on model performance is reduced.
Smart Images

Figure CN118865486A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of deep learning and computer vision technology, and specifically relates to a cross-domain posture estimation method based on skeleton graph constraints and its application. Background Art
[0002] Posture estimation is a very important direction in the field of artificial intelligence and computer vision. It plays a vital role in autonomous driving, brain-computer interface, and animal protection.
[0003] The rapid development of deep learning this year has made significant progress in attitude estimation tasks, but the current mainstream attitude estimation research requires a large amount of labeled data. In practical applications such as animal experiments, most of the scenes we face are unlabeled information. How to make the trained attitude estimation model also perform well in these scenes is currently a very important but limited research issue.
[0004] Unsupervised domain adaptation is the main method to solve the problem of domain differences between datasets. It aims to migrate the model trained on the source domain dataset to the unlabeled target domain data. The mainstream domain adaptation research is all oriented towards classification tasks. According to different learning methods, it is mainly divided into three categories: adversarial training-based methods, difference-based methods, and reconstruction-based methods.
[0005] Compared with classification tasks, unsupervised domain adaptation research in pose estimation is relatively limited, and mainstream models are based on pseudo-label generation. These methods filter pseudo-labels for target domain data based on the consistency of the prediction results, and then fine-tune the model or perform other types of transfer training based on the obtained pseudo-labels, thereby reducing the impact of domain differences between datasets on model performance.
[0006] The current pose estimation model based on unsupervised domain adaptation basically adopts the key point position consistency criterion when obtaining pseudo labels for target domain data. Due to the sparsity and feature scarcity of key points in Euclidean space, the pseudo labels obtained using this criterion have the characteristics of low precision and high noise, which has a great impact on the transfer training of the model. Summary of the invention
[0007] In view of the above problems existing in the existing cross-domain posture estimation model, the present invention provides a cross-domain posture estimation method based on skeleton graph structure constraints.
[0008] The present invention provides a cross-domain posture estimation method based on skeleton graph structure constraints, comprising the following steps: S1: construct positive and negative comparison samples of skeleton graphs based on source domain dataset labels; S2: Construct a graph contrastive learning network and train it with the constructed skeleton contrast sample set; S3: Construct a pose estimation model based on heatmap regression and train it based on the source domain dataset; S4: Obtain the pseudo-labels of the target domain data, including inferring on the target domain data using the pose estimation model trained on the source domain data, and using the graph contrast model to discriminate the correctly predicted pseudo-labels; S5: Construct a domain adaptation training model and train it using the source domain data and the target domain data.
[0009] The specific steps of step S1 include: S11: Generate rotation-augmented samples for the key point labels of each source domain sample; S12: Randomly select a number from the set [0, 1] as the label for generating the sample pair; S13: According to the label type of the sample pair, add the corresponding noise transformation type to the key point labels of the source domain sample and its augmented sample to construct a key point simulation sample pair; S14: Generate the node feature matrix M of the skeleton graph structure in the sample pair f ; S15: Return a sample set containing the key point simulation sample pair, the edge connection matrix of the skeleton graph structure, and the sample pair label.
[0010] The specific construction of the key point simulation sample pair in S13 includes: If the randomly selected label is 1, the noise added to the key point labels of the source domain sample and its augmented sample is all positive sample noise N pos ; If the randomly selected label is 0, at least one of the noise added to the key point labels of the source domain sample and its augmented sample is negative sample noise N neg .
[0011] Among them, the positive sample noise and negative sample noise are defined according to the percentage of the noise range in the target body length. Specifically: the positive sample label N pos The sampling range of is: N pos ∈{n|0 < n < 0.2*l}, the sampling range of the negative sample label N neg is: N neg ∈{n|0.2*l < n < l}, where l is the torso length of the target.
[0012] The generation of the node feature matrix M of the skeleton graph structure in the sample pair in S14 f Specifically includes: calculating the angle A i between the connection of each key point P i and the adjacent two key points, and then jointly forming the node feature matrix M with the Euclidean space coordinates of the key points according to the following formula f :
[0013] The step S2 specifically includes: S21: construct a comparative training model based on a graph neural network, wherein the graph comparative training model consists of three layers of GINconv graph convolution layers, a fully connected layer, and a Sigmoid activation layer; S22: The input of the graph neural network model is the node feature matrix M of the positive and negative samples of the skeleton graph f The concatenation matrix in the x dimension; S23: Use the input constructed from the skeleton graph positive and negative samples and the sample-to-label pair graph comparison model to train, and the loss function used is the cross entropy loss.
[0014] The step S3 specifically includes: S31: Generate heatmaps using key point coordinate labels of the source domain dataset as training labels for the pose estimation model; S32: Construct a pose estimation model based on key point heat map regression; S33: The posture estimation model is trained using the training images from the dataset and their corresponding heat map label sets, and the loss function used is the mean square error loss.
[0015] The posture estimation model based on key point heat map regression described in S32 specifically includes: a feature extraction module, a feature fusion module based on a transformer structure, and a feature decoding module.
[0016] The feature extraction module is a pre-trained Resnet50, whose input is a 3D image with a resolution of 3×w×h and the output is a 3D image with a size of Tensor features of .
[0017] The transformer-based feature fusion module consists of three parallel attention mechanism modules, including two self-attention modules and one cross-attention module. The module inputs of the two self-attention mechanisms are the image features from the feature extraction module, while the query vector, key vector, and query vector of the cross-attention module come from the two self-attention modules respectively. The concatenated features of the features output by the two attention modules in the channel dimension are the outputs of the transformer-based feature fusion module.
[0018] The feature decoding module consists of three upsampling modules and a convolution output layer with a convolution kernel size of 1×1.
[0019] Furthermore, the upsampling module consists of an upsampling layer with a stride of 2, a two-dimensional convolutional layer, a batch normalization layer, and a ReLU activation layer in sequence.
[0020] The step S4 specifically includes: S41: Obtain augmented samples of the image in the target domain by rotation transformation; S42: The target domain image and its augmented samples are respectively inferred through the pose estimation model trained on the source domain to obtain the predicted key point heat map, and the key point coordinates are obtained through non-maximum suppression; S43: According to step S14, the key point prediction structure of the target domain image and its augmented sample is processed to obtain its skeleton graph sample pair S44: Use the image comparison model trained in step S2 to predict the skeleton image sample pairs obtained from the target domain data Perform reasoning and obtain the judgment result S T ; S45: According to the judgment result S T The value of divides the target domain dataset into pseudo-labeled subsets and the subset without pseudo labels
[0021] According to the determination result S45 T The value of divides the target domain dataset into two subsets as follows: for samples from the target domain dataset have
[0022] The step S5 specifically includes: S51: Build domain adaptation training model; S52: Training using source domain data and target domain data; S53: Pose estimation model inference after domain adaptation training.
[0023] The constructed domain adaptation training model specifically includes: a dual-stream feature extraction module, a target feature alignment module and a dual-stream feature decoding module.
[0024] Furthermore, the dual-stream feature extraction module is composed of two Resnet50 networks with shared weights, and its pre-trained weights are inherited from the feature extraction module of the posture estimation model trained based on the source domain data in step S3.
[0025] The target feature alignment module structure and weights are derived from the transformer-based feature fusion module of the pose estimation model trained based on source domain data in step S3. The two self-attention module inputs in this module are derived from the two output features of the dual-stream feature extraction module.
[0026] The dual-stream feature decoding module is composed of two groups of feature decoding modules with the same structure. The structure and weight of each group of feature decoding modules come from the feature decoding module of the posture estimation model trained based on the source domain data in step S3.
[0027] The training using source domain data and target domain data specifically includes: randomly selecting source domain data sets and target domain data sets with pseudo labels One image is selected from each pair as a sample pair; then two sets of heat maps are generated as training targets according to their key point labels; the two images in the sample pair are used as two inputs in the two-stream feature extraction module; the two sets of heat map labels are respectively calculated with the input from the two-stream feature decoder. Mean square error loss.
[0028] The pose estimation model reasoning after the domain adaptation training specifically includes: weight assignment of each module of the pose estimation model and target domain model reasoning.
[0029] Furthermore, the weight assignment of each module of the posture estimation model is specifically as follows: the posture estimation model structure used is the same as the posture estimation model constructed in step S3; the weights of its feature extraction module, feature fusion module and feature decoding module are respectively inherited from the target domain data branch in the dual-stream feature extraction module, the target feature alignment module and the target domain data branch in the dual-stream feature decoding module of the model trained in step S52.
[0030] The target domain model reasoning is as follows: for each test sample in the target domain dataset, first transform its size sampling to 3×w×h, then use the posture estimation model obtained in step 22 to perform reasoning to obtain the predicted key point heat map set, and finally obtain the final predicted key point set through the non-maximum suppression operation on the heat map set.
[0031] Another object of the present invention is to provide the cross-domain posture estimation method for application in model transfer training, especially in cross-scene and cross-species animal posture estimation tasks, to achieve application in model transfer training that does not rely on data annotation.
[0032] The beneficial effects of the present invention are:
[0033] 1. In the pose estimation task, the present invention aims at the problem that the domain differences between different data sets lead to the degradation of model performance. A cross-domain pose estimation method based on graph structure constraints is proposed. The domain adaptation training proposed in the present invention does not need to label the target domain data and is an unsupervised domain adaptation method. Without the need for additional labeling costs, the pose estimation performance of the model on unlabeled data is effectively improved.
[0034] 2. Aiming at the common high noise and low precision problems of pseudo labels obtained in the pose estimation task based on unsupervised domain adaptation, the present invention proposes a pseudo label generation method based on the consistency of skeleton graph structure. It performs comparative learning on the key point simulation prediction results in the graph feature space connected by the key points, thereby improving the model's ability to distinguish the key point prediction results, and obtaining high-precision pseudo labels for the target domain data.
[0035] 3 Aiming at the problem of inaccurate model response to target features caused by domain differences between data in domain transfer training, the present invention proposes a target feature alignment module based on the Transformer mechanism. Through two parallel self-attention modules and a cross-attention module, the model is implicitly taught to pay attention to and align target-related features in the source domain and the target domain, thereby reducing the impact of irrelevant features such as background on the model and effectively improving the cross-domain transfer capability of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is the overall flow chart of the present invention.
[0037] Figure 2 It is a schematic diagram of the graph comparison learning module of the present invention.
[0038] Figure 3 Schematic diagram of the Transformer-based target feature alignment module of the present invention.
[0039] Figure 4 This is a schematic diagram of the model domain transfer training of the present invention. DETAILED DESCRIPTION
[0040] The present invention is described in detail below with reference to the accompanying drawings and implementation examples.
[0041] Example 1 like Figure 1 As shown, the present invention provides a cross-domain posture estimation method based on graph structure constraints, comprising the following steps: Step S1: construct positive and negative comparison samples of skeleton images based on the source domain dataset labels; Step S2: Figure 2 As shown, a graph contrast learning network is constructed and trained with the constructed skeleton contrast sample set; Step S3: construct a posture estimation model based on heat map regression and train it based on the source domain dataset; Step S4: obtaining pseudo labels of target domain data, including using the pose estimation model trained on the source domain data to perform reasoning on the target domain data, and using the image comparison model to discriminate the correctly predicted pseudo labels; Step S5: construct a domain adaptation training model and use the source domain data and the target domain data for training.
[0042] Further, step S1 specifically includes: Step S11: Generate rotated augmented samples for the key point labels of each source domain sample; Step S12: Randomly select a number from the set [0, 1] as the label of the generated sample pair; Step S13: According to the label type of the sample pair, add the corresponding noise transformation type to the key point labels of the source domain sample and its augmented samples to construct a key point simulation sample pair; Step S14: Generate the node feature matrix M of the skeleton graph structure in the sample pair f ; Step S15: Return a sample set containing the key point simulation sample pair, the edge connection matrix of the skeleton graph structure, and the label of the sample pair.
[0043] Preferably, the construction of the key point simulation sample pair specifically includes: if the randomly selected label is 1, the noise added to the key point labels of the source domain sample and its augmented samples is all positive sample noise N pos ; if the randomly selected label is 0, at least one of the noises added to the key point labels of the source domain sample and its augmented samples is negative sample noise N neg .
[0044] Preferably, the positive and negative sample noises are defined according to the percentage of the noise range in the target body length. Specifically: the sampling range of the positive sample label N pos is: N pos ∈{n|0 < n < 0.2*l}, and the sampling range of the negative sample label N neg is: N neg ∈{n|0.2*l < n < l}, where l is the torso length of the target.
[0045] Preferably, the generation of the node feature matrix M of the skeleton graph structure in the sample pair f specifically includes: calculating the angle A i between the connection of each key point P i and the adjacent two key points, and then jointly forming the node feature matrix M with the Euclidean space coordinates of the key points according to the following formula f :
[0046] Further, step S2 specifically includes: Step S21: Construct a contrast training model based on a graph neural network. The graph contrast training model consists of three layers of GINconv graph convolutional layers, a fully connected layer, and a Sigmoid activation layer; Step S22: The input of the graph neural network model is the node feature matrix M of the positive and negative samples of the skeleton graph f The concatenation matrix in the x dimension; Step S23: using the input constructed from the positive and negative samples of the skeleton graph and the sample-to-label-to-graph comparison model to train, the loss function used is the cross entropy loss.
[0047] Furthermore, the step S3 specifically includes: Step S31: Generate a heat map using the key point coordinate labels of the source domain data set as training labels for the posture estimation model; Step S32: constructing a posture estimation model based on key point heat map regression; Step S33: The posture estimation model is trained using the training images from the data set and their corresponding heat map label sets, and the loss function used is the mean square error loss.
[0048] Preferably, the construction of the posture estimation model based on key point heat map regression specifically includes: a feature extraction module, a feature fusion module based on a transformer structure, and a feature decoding module.
[0049] Preferably, the feature extraction module is a pre-trained Resnet50, whose input is a three-dimensional image with a resolution of 3×w×h and whose output is a 3D image with a size of Tensor features of .
[0050] Preferably, if Figure 3 As shown in the figure, the feature fusion module based on the transformer structure consists of three parallel attention mechanism modules, including two self-attention modules and one cross-attention module. The module inputs of the two self-attention mechanisms are the image features from the feature extraction module, while the query vector, key vector and query vector of the cross-attention module come from the two self-attention modules respectively. The concatenated features of the features output by the two attention modules in the channel dimension are the outputs of the feature fusion module based on the transformer structure.
[0051] Preferably, the feature decoding module consists of three upsampling modules and a convolution output layer with a convolution kernel size of 1×1.
[0052] Preferably, the upsampling module is composed of an upsampling layer with a step size of 2, a two-dimensional convolution layer, a batch normalization layer and a ReLU activation layer in sequence.
[0053] Furthermore, the step S4 specifically includes: Step S41: Obtain augmented samples of the image in the target domain by rotation transformation; Step S42: respectively inferring the target domain image and its augmented samples through the pose estimation model trained on the source domain to obtain the predicted key point heat map, and obtaining its key point coordinates through non-maximum suppression; Step S43: According to step S14, the key point prediction structure of the target domain image and its augmented sample is processed to obtain its skeleton graph sample pair Step S44: Use the image comparison model trained in step S2 to predict the skeleton image sample pairs obtained from the target domain data. Perform reasoning and obtain the judgment result S T ; Step S45: According to the judgment result S T The value of divides the target domain dataset into pseudo-labeled subsets and the subset without pseudo labels
[0054] Preferably, the determination result S T The value of divides the target domain dataset into two subsets as follows: for samples from the target domain dataset have
[0055] Furthermore, the step S5 specifically includes: Step S51: constructing a domain adaptation training model; Step S52: training using source domain data and target domain data; Step S53: inference of the pose estimation model after domain adaptation training.
[0056] Preferably, the construction of the domain adaptation training model specifically includes: a dual-stream feature extraction module, a target feature alignment module and a dual-stream feature decoding module.
[0057] Preferably, the dual-stream feature extraction module is composed of two Resnet50 networks with shared weights, and its pre-trained weights are inherited from the feature extraction module of the posture estimation model trained based on the source domain data in step S3.
[0058] Preferably, the target feature alignment module structure and weights are derived from the feature fusion module based on the transformer structure of the posture estimation model trained based on the source domain data in step S3. The two self-attention module inputs in this module are derived from the two output features of the dual-stream feature extraction module respectively.
[0059] Preferably, the dual-stream feature decoding module is composed of two groups of feature decoding modules with the same structure, and the structure and weight of each group of feature decoding modules are derived from the feature decoding module of the posture estimation model trained based on the source domain data in step S3.
[0060] The training using source domain data and target domain data specifically includes: randomly selecting source domain data sets and target domain data sets with pseudo labels One image is selected from each pair as a sample pair; then two sets of heat maps are generated as training targets according to their key point labels; the two images in the sample pair are used as two inputs in the two-stream feature extraction module; the two sets of heat map labels are respectively calculated with the input from the two-stream feature decoder. Mean square error loss.
[0061] Preferably, the pose estimation model reasoning after the domain adaptation training specifically includes: weight assignment of each module of the pose estimation model and target domain model reasoning.
[0062] Preferably, the weight assignment of each module of the posture estimation model is specifically as follows: the posture estimation model structure used is the same as the posture estimation model constructed in step S3; the weights of its feature extraction module, feature fusion module and feature decoding module are respectively inherited from the target domain data branch in the dual-stream feature extraction module, the target feature alignment module and the target domain data branch in the dual-stream feature decoding module of the model trained in step S52.
[0063] Preferably, the target domain model reasoning is specifically as follows: for each test sample in the target domain data set, first transform its size sampling to 3×w×h, then use the posture estimation model obtained in step 22 to perform reasoning to obtain a set of predicted key point heat maps, and finally perform a non-maximum suppression operation on the heat map set to obtain the final predicted key point set.
Claims
1. A cross-domain posture estimation method based on skeleton graph structure constraints, characterized in that: The following steps are involved: S1: construct positive and negative comparison samples of skeleton graphs based on source domain dataset labels; S2: Construct a graph contrast learning network and train it using the constructed skeleton contrast sample set; S3: Build a pose estimation model based on heatmap regression and train it based on the source domain dataset; S4: Obtain pseudo labels for target domain data, including using the pose estimation model trained on the source domain data to perform reasoning on the target domain data, and using the image comparison model to identify the correctly predicted pseudo labels; S5: Build a domain adaptation training model and use source domain data and target domain data for training.
2. A cross-domain posture estimation method based on skeleton graph structure constraints according to claim 1, characterized in that: The step S1 specifically includes: S11: Generate a rotated augmented sample for each key point label of the source domain sample; S12: Randomly select a number from the set [0,1] as the label of the generated sample pair; S13: According to the label type of the sample pair, add the corresponding noise transformation type to the key-point labels of the source-domain samples and their augmented samples to construct key-point simulation sample pairs: If the randomly selected label is 1, the noise added to the key-point labels of the source-domain samples and their augmented samples is all positive-sample noise N pos ; If the randomly selected label is 0, at least one of the noise added to the key-point labels of the source-domain samples and their augmented samples is negative-sample noise N neg , the sampling range of the positive-sample label N pos is: N pos ∈ {n|0 < n < 0.2*l}, the sampling range of the negative-sample label N neg is: N neg ∈ {n|0.2*l < n < l}, where l is the torso length of the target; S14: Generate node feature matrix M of skeleton graph structure in sample pair f :Calculate each key point P i The angle A between the two adjacent key points i , and then together with the key point Euclidean space coordinates according to the following formula to form the node feature matrix M f : S15: Returns a sample set including key point simulation sample pairs, an edge connection matrix of the skeleton graph structure, and sample pair labels.
3. The cross-domain posture estimation method based on skeleton graph structure constraints according to claim 1 is characterized in that: The step S2 specifically includes: S21: construct a comparative training model based on a graph neural network, wherein the graph comparative training model consists of three layers of GINconv graph convolution layers, a fully connected layer, and a Sigmoid activation layer; S22: The input of the graph neural network model is the node feature matrix M of the positive and negative samples of the skeleton graph f The concatenation matrix in the x dimension; S23: Use the input constructed from the skeleton graph positive and negative samples and the sample-to-label pair graph comparison model to train, and the loss function used is the cross entropy loss.
4. A cross-domain posture estimation method based on skeleton graph structure constraints according to claim 1, characterized in that: The step S3 specifically includes: S31: Generate heatmaps using key point coordinate labels of the source domain dataset as training labels for the pose estimation model; S32: Construct a posture estimation model based on key point heat map regression, which specifically includes: a feature extraction module based on Resnet, a feature fusion module based on transformer structure, and a feature decoding module. The feature decoding module consists of three upsampling modules and a convolution output layer with a convolution kernel size of 1×1. The upsampling module consists of an upsampling layer with a step size of 2, a two-dimensional convolution layer, a batch normalization layer, and a Relu activation layer in sequence; S33: The posture estimation model is trained using the training images from the dataset and their corresponding heat map label sets, and the loss function used is the mean square error loss.
5. The cross-domain posture estimation method based on skeleton graph structure constraint according to claim 4 is characterized in that: The transformer-based feature fusion module described in S32 is composed of three parallel attention mechanism modules, including two self-attention modules and one cross-attention module. The module inputs of the two self-attention mechanisms are image features from the feature extraction module, while the query vector, key vector and query vector of the cross-attention module come from the two self-attention modules respectively. The concatenated features of the features output by the two attention modules in the channel dimension are the outputs of the transformer-based feature fusion module.
6. A cross-domain posture estimation method based on skeleton graph structure constraints according to claim 1, characterized in that: The step S4 specifically includes: S41: Obtain augmented samples of the image in the target domain by rotation transformation; S42: The target domain image and its augmented samples are respectively inferred through the pose estimation model trained on the source domain to obtain the predicted key point heat map, and the key point coordinates are obtained through non-maximum suppression; S43: According to step S14, the key point prediction structure of the target domain image and its augmented sample is processed to obtain its skeleton graph sample pair S44: Use the image comparison model trained in step S2 to predict the skeleton image sample pairs obtained from the target domain data Perform reasoning and obtain the judgment result S T ; S45: According to the judgment result S T The value of divides the target domain dataset into pseudo-labeled subsets and the subset without pseudo labels Specifically: For samples from the target domain dataset have 7. A cross-domain posture estimation method based on skeleton graph structure constraints according to claim 1, characterized in that: The step S5 specifically includes: S51: construct a domain adaptation training model, specifically including: a dual-stream feature extraction module, a target feature alignment module and a dual-stream feature decoding module, wherein the dual-stream feature extraction module is composed of two Resnet50 networks with shared weights, and its pre-trained weights are inherited from the feature extraction module of the posture estimation model trained based on the source domain data in step S3, the target feature alignment module structure and weights are derived from the transformer-based feature fusion module of the posture estimation model trained based on the source domain data in step S3, the two self-attention module inputs in this module are respectively derived from the two output features of the dual-stream feature extraction module, and the dual-stream feature decoding module is composed of two groups of feature decoding modules with the same structure, and the structure and weights of each group of feature decoding modules are derived from the feature decoding module of the posture estimation model trained based on the source domain data in step S3; S52: Training using source domain data and target domain data; S53: reasoning of the pose estimation model after domain adaptation training, specifically including: weight assignment of each module of the pose estimation model and reasoning of the target domain model.
8. The cross-domain posture estimation method based on skeleton graph structure constraints according to claim 7 is characterized in that: The training using source domain data and target domain data in S52 specifically includes: randomly selecting source domain data sets and target domain data sets with pseudo labels. One image is selected from each pair as a sample pair; then two sets of heat maps are generated as training targets according to their key point labels; the two images in the sample pair are used as two inputs in the two-stream feature extraction module; the two sets of heat map labels are respectively calculated with the input from the two-stream feature decoder. Mean square error loss.
9. The cross-domain posture estimation method based on skeleton graph structure constraint according to claim 7, characterized in that: The weight assignment of each module of the posture estimation model described in step S53 is specifically as follows: the posture estimation model structure used is the same as the posture estimation model constructed in step S3; The weights of its feature extraction module, feature fusion module and feature decoding module are respectively inherited from the target domain data branch in the dual-stream feature extraction module, the target feature alignment module and the target domain data branch in the dual-stream feature decoding module of the model trained in step S52; The target domain model reasoning described in S53 is specifically as follows: for each test sample in the target domain data set, first its size sampling is transformed to 3×w×h, then the posture estimation model obtained in step 22 is used for reasoning to obtain a set of predicted key point heat maps, and finally the heat map set is subjected to a non-maximum suppression operation to obtain the final predicted key point set.
10. The cross-domain posture estimation method based on skeleton graph structure constraint according to claim 1 is applied in model transfer training, characterized in that: In the cross-scene and cross-species animal posture estimation task, it is applied in model transfer training that does not rely on data annotation.
Citation Information
Patent Citations
Mammal posture recognition method based on body contour and leg joint skeleton
CN112395977A
Human body posture detection method and system, storage medium, equipment and terminal
CN112861624A
Cross-domain adaptive graph convolution balance transfer learning method and system
CN113128667A
Weak supervision point cloud semantic segmentation method for cross-scene contrast learning
CN114187446A
Target 6D attitude estimation model training method and target 6D attitude estimation method
CN115546295A
Cited By
Space target adaptive pose estimation system based on deep learning
CN119515973A
Cross-domain human body unified modeling method and device, equipment and storage medium
CN120107495A
A cross-domain human body unified modeling method, device, equipment and storage medium
CN120107495B
