3D human pose estimation using models trained with unlabeled multi-view data

Through multi-view supervised learning and 2.5D pose representation, the problem of insufficient training data diversity in the existing technology is solved, the ability to accurately estimate 3D human poses in the wild environment is achieved, and the versatility and robustness of the model are improved.

CN113255420BActive Publication Date: 2024-09-24NVIDIA CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202011399880.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-09
Filing Date
2020-12-02
Publication Date
2024-09-24
Estimated Expiration
2040-12-02

AI Technical Summary

Technical Problem

When estimating 3D human poses, the existing technology lacks sufficient diversity of training data, resulting in limited applicability in wild environments. Especially when human joints are shortened or blocked, the 2D annotation form cannot provide sufficient 3D pose information.

Method used

Using a multi-view supervised learning method, the model is trained through unlabeled multi-view data, using 2.5D pose representation and a weakly supervised loss function to estimate the 3D pose of a given 2D image, achieving scaling-normalized and differentiable 3D reconstruction.

Benefits of technology

Being able to estimate 3D poses from unlabeled multi-view data without the need for 3D annotations improves the model's versatility and applicability in wild environments, ensuring the accuracy and robustness of pose estimation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113255420B_ABST
    Figure CN113255420B_ABST
Patent Text Reader

Abstract

The present invention discloses 3D human pose estimation using a model trained with unlabeled multi-view data. Learning to estimate 3D human pose, as well as the pose of any type of object, from a single 2D image is very important for many practical graphics applications, and typically relies on a neural network that has been trained using annotated (labeled) sample data, each of which has a 2D sample image with a known 3D pose. However, requiring this labeled training data has various disadvantages, including, for example, a lack of diversity in the training datasets traditionally used, thereby limiting the extent to which the neural network can estimate 3D poses. It is also difficult to expand these training datasets because it requires manual annotations for 2D images, which is time-consuming and error-prone. The present disclosure overcomes these and other limitations of the prior art by providing a model that is trained from unlabeled multi-view data for 3D pose estimation.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Claiming priority

[0002] This application claims the benefit of U.S. Provisional Application No. 62975103, filed on February 11, 2020 (Agent Docket No. NVIDP1313+ / 19-SC-0443US01), entitled “Learning to Estimate 3D Human Body Pose Using Multi-View Supervision,” the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to neural networks, and more particularly to pose estimation neural networks. Background Art

[0004] Learning to estimate the 3D human pose, as well as the pose of any type of object, from a single 2D image is of great importance for many real-world applications. Typically, this estimation involves producing a 3D pose that matches the spatial position of the person depicted in a given 2D image. The estimated 3D human pose can be used in a variety of computer vision applications.

[0005] State-of-the-art methods use images annotated with 3D poses and train deep neural networks to directly regress the 3D pose from one or more input images. However, these methods have multiple drawbacks. In particular, although the performance of these methods has improved significantly, their applicability in wild environments is limited due to the lack of training data with sufficient diversity. Commonly used training datasets, such as Human3.6M, are collected in controlled indoor settings using complex multi-camera motion capture systems.

[0006] Furthermore, it is impractical to extend such systems to unconstrained outdoor environments. This is because manual annotations are difficult to obtain and prone to errors. Therefore, some current methods resort to using existing training data while trying to improve the generalizability of the trained models by incorporating additional weak supervision in the form of various 2D annotations of in-the-wild images. Although 2D annotations are easily available, they do not provide enough information about 3D human poses, especially when human joints are foreshortened or occluded.

[0007] There is a need to address these and / or other problems associated with the prior art. Summary of the invention

[0008] A method, computer readable medium, and system for training a three-dimensional (3D) pose estimation model from unlabeled multi-view data is disclosed. In use, multiple unlabeled images of a particular object are received as input, each unlabeled image being captured from a different viewpoint. In addition, the multiple unlabeled images are used to train a model for use in a process of estimating a 3D pose of a given two-dimensional (2D) image. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A flowchart of a method for training a model from unlabeled multi-view data for three-dimensional (3D) pose estimation is shown according to one embodiment.

[0010] Figure 2 The layers of a system for estimating a 3D pose from a given 2D image are shown according to one embodiment.

[0011] Figure 3A A method for Figure 2 Block diagram of the training process of the first layer model of the system.

[0012] Figure 3B According to an embodiment Figure 2 A block diagram of the processes of the second layer of the system.

[0013] Figure 4A Inference and / or training logic is shown in accordance with at least one embodiment.

[0014] Figure 4B Inference and / or training logic is shown in accordance with at least one embodiment.

[0015] Figure 5 The training and deployment of a neural network in accordance with at least one embodiment is shown.

[0016] Figure 6 An example data center system is shown in accordance with at least one embodiment. Specific embodiments

[0017] Figure 1 A flowchart of a method 100 for training a model from unlabeled multi-view data for three-dimensional (3D) pose estimation according to one embodiment is shown. The method 100 may be performed by a processing unit, a program, a custom circuit, or a combination thereof.

[0018] As shown in operation 101, multiple unlabeled images of a specific object are received as input, each unlabeled image is captured from a different viewpoint. Since the unlabeled images are captured from different viewpoints (e.g., different camera positions), the unlabeled images may also be referred to as multi-view images herein, each of which is a two-dimensional (2D) image of the object captured at substantially the same pose or at the same time point but from different viewpoints. It should be noted that the multiple unlabeled images may include at least two unlabeled images.

[0019] In various embodiments described herein, the object is referred to as a human being. However, it should be noted that these embodiments are equally applicable to other types of structural objects that can be represented by unique key points and are therefore not limited to human objects. For example, in other embodiments, the object can be a static object (e.g., a chair), a moving object (e.g., a car), etc.

[0020] In the context of this specification, an unlabeled image refers to an image without 3D pose annotations. Therefore, the 3D pose ground truth of the object may be unknown. In another embodiment, the unlabeled image may be captured without calibrating the camera position. In other words, the position of each camera relative to the object may be unknown or at least unspecified.

[0021] Furthermore, as shown in operation 102, a model is trained using a plurality of unlabeled images for use in the process of estimating the 3D pose of a given 2D image (of the system). The given 2D image may be any unlabeled image of an object that belongs to the same category as the object captured by the unlabeled image received in operation 101. To this end, method 100 may be repeated for different object categories in order to train a model for estimating the 3D pose of a given 2D image of those various object categories.

[0022] In one embodiment, particularly where the subject is a person, a 3D pose can be defined by the 3D position of a joint (e.g., a bone joint) relative to a camera (i.e., a specific camera position relative to the subject). In one embodiment, the process can include a first layer comprising a model trained to predict a 2.5-dimensional (2.5D) pose given a 2D image. The 2.5D pose is defined by 2D pose coordinates and relative depth values. In another embodiment, the process can include a second layer that implements 3D reconstruction of the 2.5D pose to estimate the 3D pose for a given 2D image.

[0023] Various embodiments of training and using the above-described models will now be described, including various optional architectures and features that can be used to implement the aforementioned framework depending on the needs of the user. It should be particularly noted that the following information is presented for illustrative purposes and should not be construed as limiting in any way. Any of the following features may be incorporated into or exclude other features described as needed. For example, the embodiments described below may refer to neural networks, but it should be noted that other learning-based models may also be considered.

[0024] Figure 2 A block diagram showing the various layers of a system 200 for estimating a 3D pose from a given 2D image according to one embodiment is shown. The system 200 described herein may be a method for implementing the above Figure 1 An embodiment of a system of the process described in.

[0025] As shown, the system 200 includes a first layer 201 having a neural network that predicts a 2.5D pose of a given 2D image of an object. The 2.5D pose is defined by 2D pose coordinates and relative depth values. Thus, the first layer 201 of the system 200 can receive a given 2D image as input, and can process the given 2D image of the object to estimate the 2D pose coordinates of the object and the relative depth values ​​of those 2D pose coordinates.

[0026] As also shown, the system 200 includes a second layer 202 that implements 3D reconstruction of 2.5D poses to estimate the 3D pose of a given 2D image of an object. The second layer 202 of the system 200 may receive as input the 2.5D pose predicted by the first layer 201 of the system 200, and may further perform 3D reconstruction of the 2.5D pose to estimate the 3D pose of a given 2D image of an object.

[0027] 2.5D Pose Representation

[0028] In the prior art, 2.5D posture representation where x j and j is the 2D projection of body joint j on the camera plane, and Represents its metric depth relative to the root joint. The advantage of decomposing 3D joint locations into 2D projections and relative depths is that additional supervision from images in the wild with only 2D pose annotations can be used to better generalize the trained model. However, this representation does not address the scaling ambiguity present in images, which can lead to ambiguity in predictions.

[0029] However, the 2.5D representation used in this embodiment differs from the rest in terms of the scaling and normalization of the 3D pose. One embodiment of the 2.5D representation is disclosed in U.S. Patent Application No. 16290643, filed on March 1, 2019, entitled “THREE-DIMENSIONAL (3D) POSE ESTIMATION FROM A MONOCULAR CAMERA”, the details of which are incorporated herein by reference. Specifically, they scale the normalized 3D pose P so that a specific pair of body joints have a fixed distance C:

[0030]

[0031] Among them, S = ‖P is estimated independently for each posture k -P l ‖2. Normalized scaled 2.5D pose representation The form is independent of the scale of the person, which not only makes it easier to estimate the cropped RGB image, but also allows reconstructing the absolute 3D pose of the person up to scale in a fully differentiable manner as described below.

[0032] Differentiable 3D reconstruction

[0033] Given a 2.5D pose The goal is to find the depth of the root joint Reconstruct the scaled and normalized 3D positions of human joints using perspective projection

[0034]

[0035] Z root The value of can be calculated by scaling the normalization constraint:

[0036]

[0037] This leads to a quadratic equation with the following coefficients:

[0038]

[0039] For example, here and the pair (k, l) corresponds to the index of the body joint used for scale normalization in equation (1) above. Since all operations for 3D reconstruction are differentiable, the loss function can be designed to operate directly on the reconstructed 3D pose.

[0040] In the following description, a scale-normalized 2.5D representation is used. The scale factor s is calculated using C=1 and the distance between the neck and pelvic joints. Of course, it should be noted that C can be any other value as desired. In contrast to the embodiments described herein, prior art methods resort to using the ground truth for Z root Or adopt an optimization-based approach.

[0041] 2D Pose Regression

[0042] Since the 3D pose can be analytically reconstructed from the 2.5D pose, the network is trained to predict the 2.5D pose and implement the 3D reconstruction as an additional layer, as Figure 2 , as shown in the neural network 200. To this end, a 2.5D heat map regression method is adopted. Specifically, given an RGB image as input, the neural network 200 generates 2J channels as output, where the J channel is used for a 2D heat map (H 2D ), while the remaining J channels are considered as potential depth maps The 2D heatmap is first converted to a vector of 2D pose coordinates by normalizing it using a spatial softmax:

[0043]

[0044] And, then use the softargmax operation:

[0045]

[0046] where X is a 2D grid sampled according to the effective stride size of the network 200, and λ is a constant that controls the temperature of the normalized heatmap.

[0047] The relative scaled depth values ​​of each body joint can then be normalized As potential depth map and It is obtained by summing the element-wise multiplications.

[0048]

[0049]

[0050] Given a 2D pose coordinate {(x j ,y j )} j∈J , relative depth and the intrinsic camera parameters K, as described above, the second layer of the neural network 202 can be used to reconstruct the 3D pose.

[0051] In the fully supervised (FS) setting, the network can be trained using the following loss function:

[0052]

[0053] in, and are the ground truth 2D heatmap and the ground truth scaled normalized relative depth value, respectively. The mean square error is used as the loss function and In other possible embodiments, other loss functions may be used, but in any case these loss functions minimize the difference between the neural network's predictions and the ground truth 2D annotations.

[0054] To this end, the network 200 may not necessarily learn the 2D heatmap in a latent manner. Instead, the 2D heatmap prediction may be supervised by a ground truth heatmap with a Gaussian distribution at the true joint locations. As described below, a weakly supervised loss that is robust to the uncertainty of the 2D pose estimate is designed by relying on confidence values. However, other embodiments may be used, whether or not the heatmap is learned in a latent manner.

[0055] Figure 3A The goal of -B is to train a convolutional neural network F(I,θ) parameterized by weights θ to estimate the 3D body pose P = {P j} j∈J The 3D position P of the body joint J relative to the camera j =(X j ,Y j ,Z j )∈R 3 .

[0056] The training process does not assume any training data with paired 2D-3D annotations, but instead learns the parameters θ of the network in a weakly supervised manner using only multi-view images. As described above, the network is trained to determine a 2.5D pose representation for a given 2D image of an object. As described above, this 2.5D pose representation has several key features that allow the exploitation of multi-view information, and a loss function is designed for weakly supervised training.

[0057] Figure 3A A method for Figure 2 Block diagram of the training process 300 of the model of the first layer of the system 200. Figure 3B A method for Figure 2 2 is a block diagram of a process 350 for the second layer of the system 200. Although the processes 300, 350 are described herein with reference to human subjects, it should be noted that the processes 300, 350 may be similarly used for any other class of subjects.

[0058] like Figure 3AAs shown in , the training dataset is input to a convolutional neural network (CNN). The CNN learns from the training dataset to infer the 2.5D pose from a given input image. Figure 3B As shown, the 2.5D pose output by the CNN is processed using a predefined mathematical formula to obtain the final output, which is a 3D reconstruction (i.e., a scaled normalized 3D pose). The following is an exemplary implementation.

[0059] Described here is an embodiment for training a regression network in a weakly supervised manner without any 3D annotations. For training, assume a set of N samples The nth sample consists of Vn views of a person in the same body pose. Multiple cameras can be used to capture multi-view images simultaneously, or a single camera can be used assuming static body poses over time. The extrinsic camera parameters are unknown. Additionally, in one embodiment, an independent set of images annotated only with 2D poses (not shown) can be used, which is abundantly available or can even be annotated by humans for in-the-wild data. For training, the following weakly supervised (WS) loss function is optimized:

[0060]

[0061] in, is the 2D heatmap loss, It is multi-view Figure 1 Causative losses, and It is the loss of limb length.

[0062] Recall that, as described above, given an RGB image, the goal is to estimate the scale-normalized 2.5D pose Reconstruct the scaled normalized 3D pose from exist While providing supervision for 2D pose estimation, the loss Responsible for learning to estimate the relative depth component Limb length loss Further ensures the reconstructed 3D pose with reasonable limb lengths. These loss functions are explained in more detail below.

[0063] like Figure 3A As shown, the first layer 201 is trained for multiple unlabeled images I 1-v Generate a 2D heat map H for each unlabeled image in 2D , and generate a latent depth map for each of the multiple unlabeled images

[0064] In one embodiment, at least one labeled image may also be received, wherein each labeled image is a labeled image corresponding to an unlabeled image I 1-vThe captured objects have different corresponding objects and are labeled with the 2D pose of the corresponding object. In this embodiment, the labeled images are used to determine the heatmap loss during training This will be described in detail below.

[0065] The first layer 201 also normalizes the 2D heat map to generate a normalized 2D heat map. In addition, the first layer 201 converts the normalized 2D heat map into 2D pose coordinates. In this embodiment, the first layer 201 obtains a relative depth value from the potential depth map and the normalized 2D heat map, wherein the relative depth value and the 2D pose coordinates define a 2.5D pose.

[0066] like Figure 3B As shown, the second layer 202 determines the depth of the root joint and uses the depth of the root joint to reconstruct the scaled normalized 3D position of the joint using perspective projection. In this embodiment, a predefined average length of one or more aspects of the object is used to determine the length loss (e.g., bone loss) associated with the scaled normalized 3D position of the joint during training. ), as described in one of the following embodiments. The second layer 202 performs a rigid alignment on the scaled normalized 3D positions of the joints to generate a 3D pose. This rigid alignment aligns the 3D pose by eliminating rotation, translation, and scaling between the two views. In this embodiment, multiple views are determined for the 3D pose during training. Figure 1 Causative loss Multi-view Figure 1 The consistency loss enforces that the 3D poses generated from different views should be the same to achieve a rigid transformation.

[0067] loss

[0068] Heatmap loss Measure the predicted 2D heatmap H with Gaussian distribution at the true joint location 2D and ground truth heatmap It only operates on images with 2D pose annotations and is assumed to be zero for all other images.

[0069] Multi-view Figure 1 Causative loss It is required that the 3D pose estimates obtained from different views should be the same to achieve a rigid transformation. Formally, given a set of V views {I v} v∈V The multi-view training samples of Figure 1 The consistency loss is defined as the weighted sum of the differences between the 3D joint positions across different views after rigid alignment:

[0070]

[0071] in, as well as

[0072] At viewpoint I v and I v’ The confidence score of the j-th joint at . and From the viewpoint I v and I v’ The scaled normalized 3D coordinates of the j-th joint observed at . is the rigid transformation matrix that best aligns the two 3D poses, and d is the distance metric used to measure the difference between the aligned poses. In one embodiment, the L1-norm is used as the distance metric d. To understand more clearly The contribution of , we can use (2) to rewrite the distance term in (11) according to the 2.5D pose representation, that is:

[0073]

[0074] Let us assume that due to the loss The 2D coordinates (x j,v ,y j,v ) and (x j,v′ ,y j,v′ ), and the camera’s inherent characteristic K v and K v′ is known. For simplicity, let us also assume that the ground truth transformation between the two views is known. Then, the only way for the network to minimize the difference d(.,.) is to predict the relative depth and The correct value of . Therefore, the joint optimizes the loss as well as Allows learning the correct 3D pose using only weak supervision in the form of multi-view images and 2D pose annotations. No loss This model can lead to degenerate solutions despite considering not utilizing the loss during training Other embodiments of the present invention.

[0075] Although in many practical cases the transformation matrix can be known a priori through external calibration However, this example assumes that this transformation matrix is ​​not available and estimates it using the predicted 3D pose and Procrustes analysis as follows:

[0076]

[0077] During training, embodiments may not backpropagate through the optimization of the transformation matrix (13) as it would lead to numerical instabilities due to the singular value decomposition. The gradient of not only affects the depth estimation, but also affects the depth estimation due to the Z root calculation, and also affects the heatmap prediction. Therefore, It is possible to correct errors in 2D pose estimation.

[0078] Limb length loss Measure the deviation of the limb length of the predicted 3D pose from the mean bone length:

[0079]

[0080] where ε corresponds to the kinematic structure used by the body, and is the scaled normalized mean limb length of the joint pair (j, j′). Since all people will have roughly the same limb length after scaling normalization (1), this loss ensures that the predicted poses have reasonable limb lengths. During training, reducing limb lengths leads to faster convergence.

[0081] Additional Regularization

[0082] If a large number of samples in the multi-view data have a constant background, the network 200 can learn to recognize these images and predict the same 2D pose and relative depth for these images. To prevent this, an additional regularization loss can be introduced for such samples. Specifically, a pre-trained 2D pose estimation model can be run to generate pseudo ground truth by selecting joint estimates with confidence scores greater than a threshold τ = 0.5. These pseudo ground truths are then used to enforce the 2D heatmap loss This will prevent the model from predicting degenerate solutions. The pseudo ground truth can be generated once at the beginning of training and kept fixed throughout. Specifically, a regularization loss with images from Human3.6M and MPII-INF-3DHP can be used, both recorded in a controlled indoor setting.

[0083] Example Implementation

[0084] We adopt HRNet-w32 as the backbone of our network architecture. Before introducing the weakly supervised loss, we pre-train the model on 2D pose estimation. This ensures that the 2D pose estimation is good enough for multi-view Figure 1 Consistency We use up to four views V n =4 for calculation If a sample contains more than four views, we randomly sample four views in each epoch. We train the model with a batch size of 256, where each batch contains 128 images with 2D pose annotations and 32 unlabeled multi-view samples (32×4=128 images). We use an input image resolution of 256×256. The training data is augmented by random scaling (±20%) and rotation (±30% degrees). We find that the training converges after 60k iterations. The learning rate is set to 5e-4 and is reduced to 5e-5 in 50k iterations following the Adam optimization algorithm. We use λ=50 in (6). Since the training objectives (9) and (10) contain multiple loss terms, we empirically choose ψ=5, α=10, and β=100 to balance their contributions. Since the absolute 3D pose estimated by our pose estimation model is up to the scale factor, during inference, we use the average bone length from the training data to approximate the scaling:

[0085]

[0086] in, is the average limb length formed by the joint pair (j, j′).

[0087] The embodiments described above propose a weakly supervised method for 3D human pose estimation in the wild. The proposed method does not require any 3D annotations and can learn to estimate 3D poses from unlabeled multi-view data. This is made possible by a novel end-to-end learning framework and a novel objective function that is optimized to predict consistent 3D poses across different camera views. Since it is very easy to collect unlabeled multi-view data and similar data is abundantly available on the web, the method benefits when additional unlabeled data is provided. This makes the method very practical as additional data can be very easily incorporated to improve the generalizability of the trained model to previously unseen environments.

[0088] Machine Learning

[0089] Deep Neural Networks (DNNs), also referred to herein as neural networks, include deep learning models that have been developed on processors and are already being used for use cases ranging from self-driving cars to faster drug development, from automatic captioning of images in online image databases to intelligent real-time language translation in video chat applications. Deep learning is a technique that mimics the neural learning process of the human brain, continually learning, getting smarter, and providing more accurate results faster over time. Initially, an adult teaches a child to correctly identify and classify various shapes, eventually being able to recognize shapes without any instruction. Similarly, a deep learning or neural learning system needs to be trained in object recognition and classification as it becomes smarter and more effective at recognizing basic objects, occluded objects, etc., while also assigning context to objects.

[0090] At the simplest level, neurons in the human brain look at the various inputs they receive, assign a level of importance to each of these inputs, and pass outputs to other neurons to act on them. An artificial neuron, or perceptron, is the most basic model of a neural network. In one example, a perceptron may receive one or more inputs representing various features of an object that the perceptron is trained to recognize and classify, and assign a certain weight to each of these features based on the feature's importance in defining the shape of the object.

[0091] Deep neural network (DNN) models consist of many layers of connected nodes (e.g., perceptrons, Boltzmann machines, radial basis functions, convolutional layers, etc.), which can be trained with large amounts of input data to quickly solve complex problems with high accuracy. In one example, the first layer of a DNN model breaks down an input image of a car into its parts and looks for basic patterns such as lines and angles. The second layer assembles lines to look for higher-level patterns such as wheels, windshields, and mirrors. The next layer identifies the type of vehicle, and the last few layers generate labels for the input image to identify the model of a specific car brand.

[0092] Once a DNN is trained, it can be deployed and used to recognize and classify objects or patterns in a process called inference. Examples of inference (the process by which a DNN extracts useful information from a given input) include recognizing handwritten digits on a check deposited into an ATM machine, identifying images of friends in photos, providing movie recommendations to over fifty million users, recognizing and classifying different types of cars, pedestrians, and road hazards in self-driving cars, or translating human speech in real time.

[0093] During training, data flows through the DNN in a forward propagation phase until a prediction is produced indicating the label corresponding to the input. If the neural network does not label the input correctly, the error between the correct and predicted labels is analyzed, and the weights of each feature are adjusted in a backpropagation phase until the DNN correctly labels the input and other inputs in the training dataset. Training complex neural networks requires a large amount of parallel computing performance, including floating-point multiplications and additions. Inference, which is less computationally intensive than training, is a latency-sensitive process in which a trained neural network is applied to new inputs it has never seen before to classify images, translate speech, and generally reason about new information.

[0094] Reasoning and training logic

[0095] As mentioned above, deep learning or neural learning systems need to be trained to generate inferences from input data. Figure 4A and / or 4B provide details regarding the inference and / or training logic 415 for a deep learning or neural learning system.

[0096] In at least one embodiment, the inference and / or training logic 415 may include, but is not limited to, a data memory 401 to store forward and / or output weights and / or input / output data corresponding to a training neural network or layer of a neural network trained and / or used for inference in aspects of one or more embodiments. In at least one embodiment, the data memory 401 stores weight parameters and / or input / output data for each layer of a neural network trained or used in conjunction with one or more embodiments during forward propagation of input / output data and / or weight parameters during training and / or inference using aspects of one or more embodiments. In at least one embodiment, any portion of the data memory 401 may be included with other on-chip or off-chip data memory, including a processor's L1, L2, or L3 cache or system memory.

[0097] In at least one embodiment, any portion of data storage 401 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, data storage 401 may be a cache memory, a dynamically randomly addressable memory ("DRAM"), a static randomly addressable memory ("SRAM"), a non-volatile memory (e.g., flash memory), or other memory. In at least one embodiment, the choice of whether data storage 401 is internal or external to the processor, e.g., composed of DRAM, SRAM, flash memory, or other memory types, depends on the available on-chip versus off-chip storage, the latency requirements for performing training and / or inference functions, the batch size of data used in inferencing and / or training neural networks, or some combination of these factors.

[0098] In at least one embodiment, the reasoning and / or training logic 415 may include, but is not limited to, data storage 405 to store backward and / or output weights and / or input / output data corresponding to the neural network or layer of the neural network trained and / or used for reasoning in aspects of one or more embodiments. In at least one embodiment, the data storage 405 stores the weight parameters and / or input / output data of each layer of the neural network trained or used with one or more embodiments during the backward propagation of the input / output data and / or weight parameters during training and / or reasoning using aspects of one or more embodiments. In at least one embodiment, any portion of the data storage 405 may be included with other on-chip or off-chip data storage, including the L1, L2 or L3 cache or system memory of the processor. In at least one embodiment, any portion of the data storage 405 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the data storage 405 may be a cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage device. In at least one embodiment, the choice of whether data memory 405 is internal or external to the processor (e.g., consisting of DRAM, SRAM, flash memory, or other memory types) depends on the available on-chip versus off-chip memory, the latency requirements for performing training and / or inference functions, the batch size of data used in inference and / or training neural networks, or some combination of these factors.

[0099] In at least one embodiment, data memory 401 and data memory 405 may be separate storage structures. In at least one embodiment, data memory 401 and data memory 405 may be the same storage structure. In at least one embodiment, data memory 401 and data memory 405 may be partially the same storage structure and partially separate storage structures. In at least one embodiment, any portion of data memory 401 and data memory 405 may be included with other on-chip or off-chip data memory, including the processor's L1, L2, or L3 cache or system memory.

[0100] In at least one embodiment, the inference and / or training logic 415 may include, but is not limited to, one or more arithmetic logic units ("ALUs") 410 to perform logic and / or mathematical operations based at least on the training and / or inference code or portions thereof, the results of which may result in activations (e.g., output values ​​from layers or neurons within a neural network) stored in the activation memory 420 being a function of input / output and / or weight parameter data stored in the data storage device 401 and / or the data storage device 405. In at least one embodiment, the activations stored in the activation storage device 420 are generated in response to executing instructions or other code based on linear algebra and / or matrix-based mathematical operations performed by the ALU 410, wherein weight values ​​stored in the data storage device 405 and / or the data storage device 401 are used as operands together with other values ​​(e.g., bias values, gradient information, momentum values, or other parameters or hyperparameters), which may be stored in the data storage device 405 or the data storage device 401 or another storage device on or off-chip. In at least one embodiment, one or more ALUs 410 are included in one or more processors or other hardware logic devices or circuits, while in another embodiment, one or more ALUs 410 may be external to the processor or other hardware logic device or circuit that uses them (e.g., a coprocessor). In at least one embodiment, ALU 410 may be included within an execution unit of a processor, or otherwise included in a group of ALUs accessible to an execution unit of a processor, which group of ALUs may be within the same processor or distributed between different processors of different types (e.g., a central processing unit, a graphics processing unit, a fixed function unit, etc.). In at least one embodiment, data memory 401, data memory 405, and activation memory 420 may be on the same processor or other hardware logic device or circuit, while in another embodiment, they may be in different processors or other hardware logic devices or circuits, or some combination of the same and different processors or other hardware logic devices or circuits. In at least one embodiment, any portion of activation memory 620 may be included with other on-chip or off-chip data memory, including the processor's L1, L2, or L3 cache or system memory. Additionally, inference and / or training code may be stored with other code accessible to a processor or other hardware logic or circuitry and may be retrieved and / or processed using the fetch, decode, schedule, execute, exit, and / or other logic circuitry of the processor.

[0101] In at least one embodiment, activation memory 420 may be a cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other memory. In at least one embodiment, activation memory 420 may be completely or partially within or external to one or more processors or other logic circuits. In at least one embodiment, the choice of whether activation memory 420 is internal or external to the processor (e.g., composed of DRAM, SRAM, flash memory, or other memory types) depends on the comparison of available on-chip versus off-chip memory, the latency requirements for performing training and / or inference functions, the batch size of data used in inferencing and / or training neural networks, or some combination of these factors. In at least one embodiment, Figure 4A The inference and / or training logic 415 shown in FIG. 4 may be used in conjunction with an application specific integrated circuit (“ASIC”), such as Google's Processing unit, Graphcore TM Inference Processing Unit (IPU) or Intel (e.g., "Lake Crest"). In at least one embodiment, Figure 4A The inference and / or training logic 615 shown in FIG. 6 may be used in conjunction with central processing unit (“CPU”) hardware, graphics processing unit (“GPU”) hardware, or other hardware such as a field programmable gate array (“FPGA”).

[0102] Figure 4B Inference and / or training logic 415 is shown in accordance with at least one embodiment. In at least one embodiment, the reasoning and / or training logic 415 may include, but is not limited to, hardware logic in which computing resources are dedicated or otherwise used exclusively in conjunction with weight values ​​or other information corresponding to one or more layers of neurons within a neural network. In at least one embodiment, Figure 4B The inference and / or training logic 415 shown in FIG. 4 may be used in conjunction with an application specific integrated circuit (ASIC), such as Google's Processing unit, Graphcore TM Inference Processing Unit (IPU) or Intel (e.g., "Lake Crest") processor. In at least one embodiment, Figure 4BThe inference and / or training logic 415 shown may be used in conjunction with central processing unit (CPU) hardware, graphics processing unit (GPU) hardware, or other hardware such as a field programmable gate array (FPGA). In at least one embodiment, the inference and / or training logic 415 includes, but is not limited to, data memory 401 and data memory 405, which may be used to store weight values ​​and / or other information, including bias values, gradient information, momentum values, and / or other parameter or hyperparameter information. Figure 4B In at least one embodiment shown in , each of the data storage device 401 and the data storage device 405 is associated with a dedicated computing resource, such as computing hardware 402 and computing hardware 406, respectively. In at least one embodiment, each computing hardware 406 includes one or more ALUs that perform mathematical functions (e.g., linear algebraic functions) only on the information stored in the data storage device 401 and the data storage device 405, respectively, and the results are stored in the activation memory 420.

[0103] In at least one embodiment, each of the data stores 401 and 405 and the corresponding computing hardware 402 and 406 correspond to different layers of the neural network, such that activation of one "storage / compute pair 401 / 402" from the data stores 401 and computing hardware 402 is provided as input to the next "storage / compute pair 405 / 406" of the data stores 405 and computing hardware 406 to reflect the conceptual organization of the neural network. In at least one embodiment, each storage / compute pair 401 / 402 and 405 / 406 can correspond to more than one neural network layer. In at least one embodiment, additional storage / compute pairs (not shown) can be included in the inference and / or training logic 415 after or in parallel with the storage / compute pairs 401 / 402 and 405 / 406.

[0104] Neural network training and deployment

[0105] Figure 5Another embodiment for training and deploying a deep neural network is shown. In at least one embodiment, an untrained neural network 506 is trained using a training data set 502. In at least one embodiment, the training framework 504 is a PyTorch framework, while in other embodiments, the training framework 504 is Tensorflow, Boost, Caffe, Microsoft Cognitive Toolkit / CNTK, MXNet, Chainer, Keras, Deeplearning4j, or other training frameworks. In at least one embodiment, the training framework 504 trains an untrained neural network 506 and enables it to be trained using the processing resources described herein to generate a trained neural network 508. In at least one embodiment, weights may be randomly selected or by using a deep belief network. In at least one embodiment, training may be performed in a supervised, partially supervised, or unsupervised manner.

[0106] In at least one embodiment, the untrained neural network 506 is trained using supervised learning, where the training data set 502 includes inputs paired with expected outputs of the inputs, or where the training data set 502 includes inputs with known outputs and the outputs of the neural network are manually graded. In at least one embodiment, the untrained neural network 506 is trained in a supervised manner to process inputs from the training data set 502 and compare the resulting outputs to a set of expected or desired outputs. In at least one embodiment, the errors are then back-propagated through the untrained neural network 506. In at least one embodiment, the training framework 504 adjusts the weights that control the untrained neural network 506. In at least one embodiment, the training framework 504 includes tools to monitor the status of the untrained neural network 506 converging to a model (e.g., a trained neural network 508) suitable for generating a correct answer (e.g., a result 514) based on known input data (e.g., new data 512). In at least one embodiment, the training framework 704 repeatedly trains the untrained neural network 506 while adjusting the weights to refine the output of the untrained neural network 506 using a loss function and an adjustment algorithm (e.g., stochastic gradient descent). In at least one embodiment, training framework 504 trains untrained neural network 506 until untrained neural network 506 reaches a desired accuracy. In at least one embodiment, trained neural network 508 can then be deployed to perform any number of machine learning operations.

[0107] In at least one embodiment, untrained neural network 506 is trained using unsupervised learning, where untrained neural network 506 attempts to train itself using unlabeled data. In at least one embodiment, unsupervised learning training data set 502 will include input data without any associated output data or "ground truth" data. In at least one embodiment, untrained neural network 506 can learn groupings within training data set 502 and can determine how individual inputs are related to untrained data set 502. In at least one embodiment, unsupervised training can be used to generate a self-organizing map, a trained neural network 508 that is capable of performing operations useful for reducing the dimensionality of new data 512. In at least one embodiment, unsupervised training can also be used to perform anomaly detection, which allows identification of data points in new data set 512 that deviate from normal patterns of new data set 512.

[0108] In at least one embodiment, semi-supervised learning can be used, which is a technique in which the training data set 502 includes a mixture of labeled data and unlabeled data. In at least one embodiment, the training framework 504 can be used to perform incremental learning, such as through a transfer learning technique. In at least one embodiment, incremental learning enables the trained neural network 508 to adapt to new data 512 without forgetting the knowledge that was injected into the network during initial training.

[0109] Data Center

[0110] Figure 6 An example data center 600 is shown in which at least one embodiment may be used. In at least one embodiment, data center 600 includes a data center infrastructure layer 610, a framework layer 620, a software layer 630, and an application layer 640.

[0111] In at least one embodiment, Figure 6As shown, the data center infrastructure layer 610 may include a resource coordinator 612, grouped computing resources 614, and node computing resources ("node CRs") 616(1)-616(N), where "N" represents any integral positive integer. In at least one embodiment, the node CRs 616(1)-616(N) may include, but are not limited to, any number of central processing units ("CPUs") or other processors (including accelerators, field programmable gate arrays (FPGAs), graphics processors, etc.), storage devices (e.g., dynamic read-only memories), memory devices (e.g., solid-state drives or disk drives), network input / output ("NW I / O") devices, network switches, virtual machines ("VMs"), power modules and cooling modules, etc. In at least one embodiment, one or more of the node CRs 616(1)-616(N) may be a server having one or more of the computing resources described below.

[0112] In at least one embodiment, the computing resources 614 of the grouping can include a separate grouping of node CRs housed in one or more racks (not shown), or a separate grouping of many racks (also not shown) housed in data centers at various geographic locations. The separate grouping of node CRs in the computing resources 614 of the grouping can include computing, networks, memory or storage resources that can be configured or assigned to support the grouping of one or more workloads. In at least one embodiment, several node CRs including a CPU or processor can be grouped in one or more racks to provide computing resources to support one or more workloads. In at least one embodiment, one or more racks can also include any number of power modules, cooling modules and network switches in any combination.

[0113] In at least one embodiment, resource orchestrator 622 may configure or otherwise control one or more nodes CR 616(1)-616(N) and / or grouped computing resources 614. In at least one embodiment, resource orchestrator 622 may include a software design infrastructure ("SDI") management entity for data center 600. In at least one embodiment, a resource orchestrator may include hardware, software, or some combination thereof.

[0114] In at least one embodiment, Figure 6As shown, the framework layer 620 includes a job scheduler 632, a configuration manager 634, a resource manager 636, and a distributed file system 638. In at least one embodiment, the framework layer 620 may include a framework for supporting the software 632 of the software layer 630 and / or one or more applications 642 of the application layer 640. In at least one embodiment, the software 632 or the application 642 may include web-based service software or applications, such as those provided by Amazon Web Services, Google Cloud, and Microsoft Azure. In at least one embodiment, the framework layer 620 may be, but is not limited to, a free and open source software web application framework, such as Apache Spark, which can utilize the distributed file system 638 for large-scale data processing (e.g., "big data"). TM (hereinafter referred to as "Spark"). In at least one embodiment, the job scheduler 632 may include a Spark driver to assist in the scheduling of workloads supported by the various layers of the data center 600. In at least one embodiment, the configuration manager 634 may be able to configure different layers, such as the software layer 630 and the framework layer 620 including Spark and the distributed file system 638, to support large-scale data processing. In at least one embodiment, the resource manager 636 may be able to manage the cluster or group computing resources mapped to or allocated to support the distributed file system 638 and the job scheduler 632. In at least one embodiment, the cluster or group computing resources may include the group computing resources 614 on the data center infrastructure layer 610. In at least one embodiment, the resource manager 636 may coordinate with the resource coordinator 612 to manage these mapped or allocated computing resources.

[0115] In at least one embodiment, software 632 included in software layer 630 may include software used by at least a portion of node CRs 616(1)-616(N), grouped computing resources 614, and / or a distributed file system 638 of framework layer 620. One or more types of software may include, but are not limited to, Internet web page search software, email virus scanning software, database software, and streaming video content software.

[0116] In at least one embodiment, the applications 642 included in the application layer 640 may include one or more types of applications used by at least a portion of the node CRs 616(1)-616(N), the grouped computing resources 614, and / or the distributed file system 638 of the framework layer 620. The one or more types of applications may include, but are not limited to, any number of genomics applications, cognitive computing, and machine learning applications, including training or inference software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), or other machine learning applications used in conjunction with one or more embodiments.

[0117] In at least one embodiment, any of the configuration manager 634, resource manager 636, and resource coordinator 612 can implement any number and type of self-modification actions based on any number and type of data acquired in any technically feasible manner. In at least one embodiment, the self-modification actions can relieve the data center operator of the data center 800 from making potentially bad configuration decisions and can avoid underutilized and / or poorly performing portions of the data center.

[0118] In at least one embodiment, data center 600 may include tools, services, software, or other resources to train one or more machine learning models or use one or more machine learning models to predict or infer information according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model may be trained by calculating weight parameters according to a neural network architecture using the software and computing resources described above with respect to data center 600. In at least one embodiment, a trained machine learning model corresponding to one or more neural networks may be used to infer or predict information using the resources described above with respect to data center 600 using weight parameters calculated using one or more training techniques described herein.

[0119] In at least one embodiment, the data center can use a CPU, an application-specific integrated circuit (ASIC), a GPU, an FPGA, or other hardware to use the above resources to perform training and / or reasoning. Moreover, one or more of the above software and / or hardware resources can be configured to allow users to train or perform information reasoning services, such as image recognition, speech recognition, or other artificial intelligence services.

[0120] Reasoning and / or training logic 415 is used to perform reasoning and / or training operations associated with one or more embodiments. In at least one embodiment, reasoning and / or training logic 415 can be used in the system Figure 6for use in performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0121] As described herein, a method, computer readable medium, and system are disclosed for training a model from unlabeled multi-view data for three-dimensional (3D) pose estimation. Figure 1-3B , embodiments may provide a trained model for performing an inference operation (e.g., estimating a 2.5D pose) and for providing data for inference (e.g., a 2.5D pose), wherein the model (in part or in whole) is stored in a Figure 4A and 4B The data storage 401 and 405 in the inference and / or training logic 415 described above may be stored in one or both of the data. The training and deployment of the model may be as follows: Figure 5 As shown and described herein. One or more servers in data center 600 may be used to perform distribution of the model, such as Figure 6 shown and described herein.

Claims

1. A method for training a three-dimensional 3D pose estimation model using unlabeled images, comprising: receiving as input a plurality of unlabeled images of a specific object, each of the plurality of unlabeled images of the specific object being captured from a different perspective; as well as A model is trained using the plurality of unlabeled images and no labeled images of the specific object for use in a process of estimating a three-dimensional (3D) pose for a given two-dimensional (2D) image.

2. The method according to claim 1, wherein: The plurality of unlabeled images includes images without 3D pose annotations.

3. The method according to claim 1, wherein: The plurality of unlabeled images are captured without calibrating a camera position.

4. The method according to claim 1, wherein: The specific subject is a human being.

5. The method according to claim 1, wherein: The 3D pose is defined by the 3D position of the joints relative to the camera.

6. The method according to claim 1, wherein: The model is used by the first layer of the process of predicting a 2.5D pose for a given 2D image.

7. The method according to claim 6, wherein: The second layer of the process enables 3D reconstruction of the 2.5D pose to estimate the 3D pose for the given 2D image.

8. The method of claim 6, wherein the model: generating a 2D heat map for each unlabeled image in the plurality of unlabeled images; and A potential depth map is generated for each unlabeled image of the plurality of unlabeled images.

9. The method according to claim 8, further comprising: receiving at least one tagged image, each of the at least one tagged image belonging to a corresponding object different from the particular object and annotated with a 2D pose of the corresponding object; Wherein, the at least one labeled image is used to determine a heat map loss during training.

10. The method of claim 8, wherein the first layer: The 2D heat map is normalized to generate a normalized 2D heat map.

11. The method according to claim 10, wherein: The first layer: The normalized 2D heatmap is converted to 2D pose coordinates.

12. The method according to claim 11, wherein: The first layer: obtaining relative depth values ​​from the potential depth map and the normalized 2D heat map, Wherein the relative depth value and the 2D pose coordinates define the 2.5D pose.

13. The method according to claim 7, wherein: The second layer: Determine the depth of the root joint, and The depth of the root joint is used to reconstruct the scale-normalized 3D position of the joint using perspective projection.

14. The method according to claim 13, wherein: An average length predefined for one or more aspects of the particular object is used to determine a length loss associated with the scale-normalized 3D position of the joint during training.

15. The method according to claim 13, wherein: The second layer: Rigid alignment is performed on the scale-normalized 3D positions of the joints to generate the 3D pose.

16. The method according to claim 15, wherein: A multi-view consistency loss is determined for the 3D poses during training, which enforces that 3D poses generated from different views should be the same to achieve a rigid transformation.

17. A non-transitory computer readable medium storing computer instructions which, when executed by one or more processors, cause the one or more processors to perform a method comprising: receiving as input a plurality of unlabeled images of a particular object, each of the plurality of unlabeled images of the particular object being captured from a different perspective; and A model is trained using the plurality of unlabeled images and no labeled images of the specific object for use in a process of estimating a three-dimensional (3D) pose for a given two-dimensional (2D) image.

18. A system for training a three-dimensional 3D pose estimation model using unlabeled images, comprising: Memory that stores computer instructions; as well as A processor that executes the computer instructions to perform a method comprising: receiving as input a plurality of unlabeled images of a specific object, each of the plurality of unlabeled images of the specific object being captured from a different perspective; as well as A model is trained using the plurality of unlabeled images and no labeled images of the specific object for use in a process of estimating a three-dimensional (3D) pose for a given two-dimensional (2D) image.

19. The system of claim 18, wherein: The plurality of unlabeled images are captured without calibrating a camera position.

20. The system of claim 18, wherein: The plurality of unlabeled images includes images without 3D pose annotations.

Citation Information

Patent Citations

  • Method and device for calculating a camera or object pose

    CN105144196A

  • Visual compiler-based person and pose detection method

    CN106897697A

  • Human pose estimation with data driven belief propagation

    US20060098865A1

  • Generation of normalized 2D imagery and ID systems via 2D to 3D lifting of multifeatured objects

    US20070080967A1

  • Estimator training method and pose estimating method using depth image

    US20140363047A1