[go: up one dir, main page]

CN111783986A - Network training method and device, attitude prediction method and device - Google Patents

Network training method and device, attitude prediction method and device Download PDF

Info

Publication number
CN111783986A
CN111783986A CN202010638037.2A CN202010638037A CN111783986A CN 111783986 A CN111783986 A CN 111783986A CN 202010638037 A CN202010638037 A CN 202010638037A CN 111783986 A CN111783986 A CN 111783986A
Authority
CN
China
Prior art keywords
image
information
predicted
loss
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010638037.2A
Other languages
Chinese (zh)
Other versions
CN111783986B (en
Inventor
季向阳
王谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202010638037.2A priority Critical patent/CN111783986B/en
Publication of CN111783986A publication Critical patent/CN111783986A/en
Application granted granted Critical
Publication of CN111783986B publication Critical patent/CN111783986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Image Analysis (AREA)

Abstract

本公开涉及一种网络训练方法及装置、姿态预测方法及装置,所述方法包括:通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;根据所述自监督训练总损失训练所述姿态预测网络,本公开实施例可实现提高姿态预测网络的精度。

Figure 202010638037

The present disclosure relates to a network training method and device, and an attitude prediction method and device. The method includes: predicting a two-dimensional sample image through an attitude prediction network, and obtaining a predicted segmentation mask corresponding to a target object in the two-dimensional sample image and the predicted posture information corresponding to the target object, the predicted posture information includes three-dimensional rotation information and three-dimensional translation information; according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, a differentiable rendering operation is performed, Obtaining differentiable rendering information corresponding to the target object; determining the posture prediction according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information The total loss of the self-supervised training of the network; the attitude prediction network is trained according to the total loss of the self-supervised training, and the embodiment of the present disclosure can improve the accuracy of the attitude prediction network.

Figure 202010638037

Description

网络训练方法及装置、姿态预测方法及装置Network training method and device, attitude prediction method and device

技术领域technical field

本公开涉及计算机技术领域,尤其涉及一种网络训练方法及装置、姿态预测方法及装置。The present disclosure relates to the field of computer technology, and in particular, to a network training method and device, and a posture prediction method and device.

背景技术Background technique

从二维(2D)图像中获取物体在三维(3D)空间中的六维(6D)姿态(即3个自由度的旋转和3个自由度的平移)在很多现实应用中非常关键,例如为机器人的抓取或者运动规划等任务提供关键的信息;在无人驾驶中,得到车辆和行人的6D姿态可为车辆提供驾驶决策信息。Obtaining the six-dimensional (6D) pose of an object in three-dimensional (3D) space from a two-dimensional (2D) image (ie, 3-DOF rotation and 3-DOF translation) is critical in many real-world applications, such as for Tasks such as grasping or motion planning of robots provide critical information; in unmanned driving, obtaining 6D poses of vehicles and pedestrians can provide driving decision-making information for vehicles.

近年来,深度学习在6D姿态估计任务上取得了比较大的进展,然而,只用单目的RGB(red\green\blue,红\绿\蓝)图像来估计物体的6D姿态仍然是非常有挑战性的任务。其中一个重要原因就是深度学习所需要的数据量非常大,而6D物体姿态估计的真实标注数据在获取上非常复杂,非常费时费力。In recent years, deep learning has made great progress in the task of 6D pose estimation. However, it is still very challenging to estimate the 6D pose of an object using only monocular RGB (red\green\blue, red\green\blue) images. sexual task. One of the important reasons is that the amount of data required for deep learning is very large, and the acquisition of real labeled data for 6D object pose estimation is very complicated, which is very time-consuming and labor-intensive.

发明内容SUMMARY OF THE INVENTION

本公开提出了一种训练神经网络的自监督训练技术方案。The present disclosure proposes a self-supervised training technical solution for training a neural network.

根据本公开的一方面,提供了一种网络训练方法,包括:According to an aspect of the present disclosure, a network training method is provided, comprising:

通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;The two-dimensional sample image is predicted by the attitude prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object are obtained. The predicted posture information includes three-dimensional rotation information and three-dimensional translation information;

根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;Perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, to obtain differentiable rendering information corresponding to the target object;

根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;determining the total loss of self-supervised training of the pose prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information;

根据所述自监督训练总损失训练所述姿态预测网络。The pose prediction network is trained according to the self-supervised training total loss.

在一种可能的实现方式中,所述目标对象对应的可微分渲染信息包括:渲染分割掩码、渲染二维图像、渲染深度图像,In a possible implementation manner, the differentiable rendering information corresponding to the target object includes: rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image,

所述根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失,包括:Determining the total loss of self-supervised training of the attitude prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information, including:

根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失;determining a first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image;

根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失;determining a second self-supervised training loss according to the predicted segmentation mask and the rendered segmentation mask;

根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失;determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image;

根据所述第一自监督训练损失、所述第二自监督训练损失及所述第三自监督训练损失,确定所述姿态预测网络的自监督训练总损失。According to the first self-supervised training loss, the second self-supervised training loss and the third self-supervised training loss, a total self-supervised training loss of the pose prediction network is determined.

在一种可能的实现方式中,所述根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失,包括:In a possible implementation manner, the determining the first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image includes:

分别将所述二维样本图像及所述渲染二维图像转换为颜色模型LAB模式后,根据转换模式后的二维样本图像、转换模式后的渲染二维图像及所述预测分割掩码,采用第一损失函数确定第一图像损失;After the two-dimensional sample image and the rendered two-dimensional image are respectively converted into the color model LAB mode, according to the two-dimensional sample image after the conversion mode, the rendered two-dimensional image after the conversion mode, and the predicted segmentation mask, using the first loss function determines the first image loss;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第二损失函数确定第二图像损失,所述第二损失函数为基于多尺度结构相似性指标的损失函数;According to the two-dimensional sample image, the rendered two-dimensional image and the predicted segmentation mask, a second loss function is used to determine a second image loss, and the second loss function is a loss function based on a multi-scale structural similarity index ;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第三损失函数确定第三图像损失,所述第三损失函数为基于深度卷积神经网络的多尺度特征距离的损失函数;According to the 2D sample image, the rendered 2D image and the predicted segmentation mask, a third loss function is used to determine a third image loss, and the third loss function is a multi-scale feature based on a deep convolutional neural network The loss function of distance;

根据所述第一图像损失、所述第二图像损失及所述第三图像损失,确定所述第一自监督训练损失。The first self-supervised training loss is determined from the first image loss, the second image loss, and the third image loss.

在一种可能的实现方式中,所述根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失,包括:In a possible implementation manner, the determining of the second self-supervised training loss according to the predicted segmentation mask and the rendering segmentation mask includes:

根据所述预测分割掩码及所述渲染分割掩码,采用交叉熵损失函数确定第二自监督训练损失。Based on the predicted segmentation mask and the rendered segmentation mask, a cross-entropy loss function is used to determine a second self-supervised training loss.

在一种可能的实现方式中,所述根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失,包括:In a possible implementation manner, determining the third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image includes:

分别对所述二维样本图像对应的深度图像与所述渲染深度图像进行逆投影操作,得到所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息;Perform a back-projection operation on the depth image corresponding to the two-dimensional sample image and the rendered depth image, respectively, to obtain point cloud information corresponding to the depth image and point cloud information corresponding to the rendered depth image;

根据所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息,确定第三自监督训练损失。A third self-supervised training loss is determined according to the point cloud information corresponding to the depth image and the point cloud information corresponding to the rendered depth image.

在一种可能的实现方式中,所述姿态预测网络包括:类别预测子网络、边界框预测子网络、和姿态预测子网络,In a possible implementation manner, the posture prediction network includes: a category prediction sub-network, a bounding box prediction sub-network, and a posture prediction sub-network,

所述通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,包括:The two-dimensional sample image is predicted through the attitude prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted attitude information corresponding to the target object are obtained, including:

通过所述类别预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的类别信息;Predict the two-dimensional sample image through the category prediction sub-network, and obtain category information corresponding to the target object in the two-dimensional sample image;

通过所述边界框预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的边界框信息;Predict the two-dimensional sample image through the bounding box prediction sub-network, and obtain bounding box information corresponding to the target object in the two-dimensional sample image;

通过所述姿态预测子网络对所述二维样本图像、所述类别信息及所述边界框信息进行处理,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息。The 2D sample image, the category information and the bounding box information are processed by the pose prediction sub-network to obtain the predicted segmentation mask corresponding to the target object in the 2D sample image and the corresponding target object the predicted pose information.

在一种可能的实现方式中,在所述通过姿态预测网络对二维样本图像进行预测之前,所述方法还包括:In a possible implementation manner, before the two-dimensional sample image is predicted by the pose prediction network, the method further includes:

根据物体的三维模型及预设姿态信息进行渲染合成操作,得到合成二维图像及所述合成二维图像的标注信息,所述合成二维图像的标注信息包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码;Rendering and synthesizing operations are performed according to the 3D model of the object and the preset posture information to obtain a synthesized 2D image and annotation information of the synthesized 2D image, where the annotation information of the synthesized 2D image includes annotated object category information and annotated bounding box information , preset pose information and preset synthetic segmentation mask;

通过所述姿态预测网络对所述合成二维图像进行预测,得到所述合成二维图像的预测信息,所述预测信息包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息;Predict the synthetic 2D image through the pose prediction network to obtain prediction information of the synthetic 2D image, where the prediction information includes predicted object category information, predicted bounding box information, predicted synthetic segmentation mask, and predicted synthetic attitude information;

根据所述预测信息及所述合成二维图像的标注信息,训练所述姿态预测网络。The pose prediction network is trained according to the prediction information and the annotation information of the synthesized two-dimensional image.

根据本公开的一方面,提供了一种姿态预测方法,所述方法包括:According to an aspect of the present disclosure, there is provided a gesture prediction method, the method comprising:

通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The image to be processed is predicted and processed by the attitude prediction network, and the attitude information of the target object in the image to be processed is obtained,

其中,所述姿态预测网络为采用权利要求1至7中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by using the network training method described in any one of claims 1 to 7.

根据本公开的一方面,提供了一种网络训练装置,包括:According to an aspect of the present disclosure, a network training apparatus is provided, comprising:

预测模块,用于通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;The prediction module is used to predict the two-dimensional sample image through the attitude prediction network, and obtain the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted attitude information corresponding to the target object, and the predicted attitude information includes 3D rotation information and 3D translation information;

渲染模块,用于根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;a rendering module, configured to perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain differentiable rendering information corresponding to the target object;

确定模块,用于根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;A determination module, configured to determine the total loss of self-supervised training of the attitude prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information ;

自监督训练模块,用于根据所述自监督训练总损失训练所述姿态预测网络。A self-supervised training module for training the pose prediction network according to the self-supervised training total loss.

在一种可能的实现方式中,所述目标对象对应的可微分渲染信息包括:渲染分割掩码、渲染二维图像、渲染深度图像,所述确定模块,还用于:In a possible implementation manner, the differentiable rendering information corresponding to the target object includes: rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image, and the determining module is further configured to:

根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失;determining a first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image;

根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失;determining a second self-supervised training loss according to the predicted segmentation mask and the rendered segmentation mask;

根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失;determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image;

根据所述第一自监督训练损失、所述第二自监督训练损失及所述第三自监督训练损失,确定所述姿态预测网络的自监督训练总损失。According to the first self-supervised training loss, the second self-supervised training loss and the third self-supervised training loss, a total self-supervised training loss of the pose prediction network is determined.

在一种可能的实现方式中,所述确定模块,还用于:In a possible implementation manner, the determining module is further configured to:

分别将所述二维样本图像及所述渲染二维图像转换为颜色模型LAB模式后,根据转换模式后的二维样本图像、转换模式后的渲染二维图像及所述预测分割掩码,采用第一损失函数确定第一图像损失;After the two-dimensional sample image and the rendered two-dimensional image are respectively converted into the color model LAB mode, according to the two-dimensional sample image after the conversion mode, the rendered two-dimensional image after the conversion mode, and the predicted segmentation mask, using the first loss function determines the first image loss;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第二损失函数确定第二图像损失,所述第二损失函数为基于多尺度结构相似性指标的损失函数;According to the two-dimensional sample image, the rendered two-dimensional image and the predicted segmentation mask, a second loss function is used to determine a second image loss, and the second loss function is a loss function based on a multi-scale structural similarity index ;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第三损失函数确定第三图像损失,所述第三损失函数为基于深度卷积神经网络的多尺度特征距离的损失函数;According to the 2D sample image, the rendered 2D image and the predicted segmentation mask, a third loss function is used to determine a third image loss, and the third loss function is a multi-scale feature based on a deep convolutional neural network The loss function of distance;

根据所述第一图像损失、所述第二图像损失及所述第三图像损失,确定所述第一自监督训练损失。The first self-supervised training loss is determined from the first image loss, the second image loss, and the third image loss.

在一种可能的实现方式中,所述确定模块,还用于:In a possible implementation manner, the determining module is further configured to:

根据所述预测分割掩码及所述渲染分割掩码,采用交叉熵损失函数确定第二自监督训练损失。Based on the predicted segmentation mask and the rendered segmentation mask, a cross-entropy loss function is used to determine a second self-supervised training loss.

在一种可能的实现方式中,所述确定模块,还用于:In a possible implementation manner, the determining module is further configured to:

分别对所述二维样本图像对应的深度图像与所述渲染深度图像进行逆投影操作,得到所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息;Perform a back-projection operation on the depth image corresponding to the two-dimensional sample image and the rendered depth image, respectively, to obtain point cloud information corresponding to the depth image and point cloud information corresponding to the rendered depth image;

根据所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息,确定第三自监督训练损失。A third self-supervised training loss is determined according to the point cloud information corresponding to the depth image and the point cloud information corresponding to the rendered depth image.

在一种可能的实现方式中,所述姿态预测网络包括:类别预测子网络、边界框预测子网络、和姿态预测子网络,所述预测模块还用于:In a possible implementation manner, the posture prediction network includes: a category prediction sub-network, a bounding box prediction sub-network, and a posture prediction sub-network, and the prediction module is further configured to:

通过所述类别预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的类别信息;Predict the two-dimensional sample image through the category prediction sub-network, and obtain category information corresponding to the target object in the two-dimensional sample image;

通过所述边界框预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的边界框信息;Predict the two-dimensional sample image through the bounding box prediction sub-network, and obtain bounding box information corresponding to the target object in the two-dimensional sample image;

通过所述姿态预测子网络对所述二维样本图像、所述类别信息及所述边界框信息进行处理,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息。The 2D sample image, the category information and the bounding box information are processed by the pose prediction sub-network to obtain the predicted segmentation mask corresponding to the target object in the 2D sample image and the corresponding target object the predicted pose information.

在一种可能的实现方式中,所述装置还包括:In a possible implementation, the apparatus further includes:

预训练模块,用于根据物体的三维模型及预设姿态信息进行渲染合成操作,得到合成二维图像及所述合成二维图像的标注信息,所述合成二维图像的标注信息包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码;The pre-training module is used to perform a rendering and synthesis operation according to the three-dimensional model of the object and the preset posture information, and obtain a synthesized two-dimensional image and label information of the synthesized two-dimensional image, where the label information of the synthesized two-dimensional image includes the label object category information, annotated bounding box information, preset pose information, and preset synthetic segmentation masks;

通过所述姿态预测网络对所述合成二维图像进行预测,得到所述合成二维图像的预测信息,所述预测信息包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息;Predict the synthetic 2D image through the pose prediction network to obtain prediction information of the synthetic 2D image, where the prediction information includes predicted object category information, predicted bounding box information, predicted synthetic segmentation mask, and predicted synthetic attitude information;

根据所述预测信息及所述合成二维图像的标注信息,训练所述姿态预测网络。The pose prediction network is trained according to the prediction information and the annotation information of the synthesized two-dimensional image.

根据本公开的一方面,提供了一种姿态预测装置,所述装置包括:According to an aspect of the present disclosure, there is provided an apparatus for attitude prediction, the apparatus comprising:

预测模块,用于通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The prediction module is used to perform prediction processing on the image to be processed through the attitude prediction network, and obtain the attitude information of the target object in the image to be processed,

其中,所述姿态预测网络为采用前述中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by training using any one of the network training methods described above.

根据本公开的一方面,提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。According to an aspect of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.

根据本公开的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。According to an aspect of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the above method when executed by a processor.

这样,可以通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息,并根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息。根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的训自监督练总损失,并根据所述自监督训练总损失训练所述姿态预测网络。根据本公开实施例提供的网络训练方法及装置、姿态预测方法及装置,通过对没有标注信息的二维样本图像和深度图像上自监督地训练姿态预测网络,能够在提高姿态预测网络的精准度的同时,提高姿态预测网络的训练效率。In this way, the two-dimensional sample image can be predicted through a posture prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object can be obtained, and the predicted posture information includes three-dimensional rotation. information and three-dimensional translation information, and perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain the differentiable rendering information corresponding to the target object. According to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information, determine the total loss of training self-supervised training of the pose prediction network, and according to the The pose prediction network is trained with the self-supervised training total loss. According to the network training method and device, and the attitude prediction method and device provided by the embodiments of the present disclosure, the attitude prediction network can be improved in the accuracy of the attitude prediction network by self-supervised training of the attitude prediction network on the two-dimensional sample images and depth images without label information. At the same time, the training efficiency of the pose prediction network is improved.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the technical solutions of the present disclosure.

图1示出根据本公开实施例的网络训练方法的流程图;1 shows a flowchart of a network training method according to an embodiment of the present disclosure;

图2示出根据本公开实施例的网络训练方法的示意图;2 shows a schematic diagram of a network training method according to an embodiment of the present disclosure;

图3示出根据本公开实施例的网络训练方法的示意图;3 shows a schematic diagram of a network training method according to an embodiment of the present disclosure;

图4示出根据本公开实施例的网络训练方法的示意图;4 shows a schematic diagram of a network training method according to an embodiment of the present disclosure;

图5示出根据本公开实施例的网络训练装置的框图;5 shows a block diagram of a network training apparatus according to an embodiment of the present disclosure;

图6示出根据本公开实施例的一种电子设备800的框图;FIG. 6 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure;

图7示出根据本公开实施例的一种电子设备1900的框图。FIG. 7 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure.

具体实施方式Detailed ways

以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures denote elements that have the same or similar functions. While various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.

在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.

另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are set forth in the following detailed description. It will be understood by those skilled in the art that the present disclosure may be practiced without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the present disclosure.

相关技术在训练用于进行物体姿态估计的神经网络时,通常利用已知物体的三维模型,通过渲染的方式得到大量合成数据,然后通过合成数据训练该神经网络。然而合成数据与真实数据之间存在着很大的领域差距,因此仅在合成数据上训练的结果往往精度不高,不能令人满意,领域自适应或者领域随机化等手段对该问题的效果也很有限。In the related art, when training a neural network for object pose estimation, a three-dimensional model of a known object is usually used to obtain a large amount of synthetic data by rendering, and then the neural network is trained through the synthetic data. However, there is a large domain gap between synthetic data and real data. Therefore, the results of training only on synthetic data are often not accurate and unsatisfactory. The effects of domain adaptation or domain randomization on this problem are also not satisfactory. very limited.

本公开实施例提供了一种网络的自监督训练方法,通过真实的二维样本图像和深度图像自监督地训练姿态预测网络,可以提高姿态预测网络的预测精准度。The embodiments of the present disclosure provide a method for self-supervised training of a network, which can improve the prediction accuracy of the attitude prediction network by self-supervised training of an attitude prediction network through real two-dimensional sample images and depth images.

图1示出根据本公开实施例的网络训练方法的流程图,在一种可能的实现方式中,所述网络训练方法可以由终端设备或服务器等电子设备执行,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,所述方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过服务器执行所述方法。1 shows a flowchart of a network training method according to an embodiment of the present disclosure. In a possible implementation, the network training method may be executed by an electronic device such as a terminal device or a server, and the terminal device may be a user equipment (User Equipment). Equipment, UE), mobile devices, user terminals, terminals, cellular phones, cordless phones, Personal Digital Assistant (PDA), handheld devices, computing devices, in-vehicle devices, wearable devices, etc., the method can be processed by It is implemented in a manner that the processor invokes computer readable instructions stored in the memory. Alternatively, the method may be performed by a server.

如图1所示,所述网络训练方法包括:As shown in Figure 1, the network training method includes:

在步骤S11中,通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息。In step S11, the two-dimensional sample image is predicted through a posture prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object are obtained, and the predicted posture information includes 3D rotation information and 3D translation information.

举例来说,姿态预测网络为预测目标对象的6D姿态的神经网络,其可以应用于“机器人作业”、“自动驾驶”、“增强现实”等领域。上述二维样本图像可以为包括目标对象的图像,该目标对象可以为任一对象,例如:人脸、人体、动物、植物、物体等对象。For example, the pose prediction network is a neural network that predicts the 6D pose of a target object, which can be applied to fields such as "robot work", "autonomous driving", and "augmented reality". The above-mentioned two-dimensional sample image may be an image including a target object, and the target object may be any object, such as a human face, a human body, an animal, a plant, an object, and other objects.

可以将二维样本图像输入姿态预测网络进行预测,得到该二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,其中预测分割掩码中任一像素点的像素值用于标识该像素点是否为样本二维图像中目标对象中的像素点,例如:像素值为1时,标识该像素点为目标对象上的像素点,像素值为0时,标识该像素点不是目标对象上的像素点。其中预测姿态信息可以包括目标对象在三个维度上的三维旋转信息R,可以用四元数表示,以及目标对象在三个维度上的三维平移信息t(tx,ty,tz)。The two-dimensional sample image can be input into the posture prediction network for prediction, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object can be obtained, wherein the predicted segmentation mask of any pixel point. The pixel value is used to identify whether the pixel is a pixel in the target object in the sample two-dimensional image. For example, when the pixel value is 1, it identifies the pixel as a pixel on the target object, and when the pixel value is 0, it identifies the pixel. Pixels are not pixels on the target object. The predicted pose information may include three-dimensional rotation information R of the target object in three dimensions, which may be represented by quaternions, and three-dimensional translation information t (t x , ty , tz ) of the target object in three dimensions.

在步骤S12中,根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息。In step S12, a differentiable rendering operation is performed according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and differentiable rendering information corresponding to the target object is obtained.

举例来说,可以对二维样本图像进行检测,确定二维样本图像中目标对象所对应的三维模型,并根据上述目标对象对应的预测姿态信息及目标对象对应的三维模型,通过可微分的渲染器进行渲染操作,得到目标对象对应的可微分渲染信息,该可微分渲染信息可以包括渲染分割掩码,渲染二维图像和渲染深度图像。For example, the two-dimensional sample image can be detected, the three-dimensional model corresponding to the target object in the two-dimensional sample image can be determined, and according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, differentiable rendering can be used. The processor performs a rendering operation to obtain differentiable rendering information corresponding to the target object, where the differentiable rendering information may include rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image.

在步骤S13中,根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失。In step S13, according to the 2D sample image, the predicted segmentation mask, the depth image corresponding to the 2D sample image, and the differentiable rendering information, determine the total loss of self-supervised training of the pose prediction network .

举例来说,可以通过二维样本图像、预测分割掩码及二维样本图像对应的深度图像,与通过预测姿态信息进行渲染得到的可微分渲染信息进行视觉一致性约束及几何一致性约束,得到姿态训练网络的自监督训练总损失。For example, visual consistency constraints and geometric consistency constraints can be obtained by performing visual consistency constraints and geometric consistency constraints through the two-dimensional sample image, the predicted segmentation mask, and the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information obtained by rendering the predicted pose information. Self-supervised training total loss for pose-trained networks.

在步骤S14中,根据所述自监督训练总损失训练所述姿态预测网络。In step S14, the pose prediction network is trained according to the self-supervised training total loss.

举例来说,可以根据自监督训练总损失调整姿态预测网络的参数,直至自监督训练总损失满足训练要求,完成姿态预测网络的自监督训练。For example, the parameters of the attitude prediction network can be adjusted according to the total loss of self-supervised training, until the total loss of self-supervised training meets the training requirements, and the self-supervised training of the attitude prediction network is completed.

这样,可以通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息,并根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息。根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的训练总损失,并根据所述自监督训练总损失训练所述姿态预测网络。根据本公开实施例提供的网络训练方法,通过没有标注信息的二维样本图像和深度图像自监督地训练姿态预测网络,能够在提高姿态预测网络的精准度的同时,提高姿态预测网络的训练效率。In this way, the two-dimensional sample image can be predicted through a posture prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object can be obtained, and the predicted posture information includes three-dimensional rotation. information and three-dimensional translation information, and perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain the differentiable rendering information corresponding to the target object. According to the 2D sample image, the predicted segmentation mask, the depth image corresponding to the 2D sample image, and the differentiable rendering information, determine the total training loss of the pose prediction network, and according to the self-supervised The training total loss trains the pose prediction network. According to the network training method provided by the embodiments of the present disclosure, the attitude prediction network can be trained by self-supervised two-dimensional sample images and depth images without label information, which can improve the training efficiency of the attitude prediction network while improving the accuracy of the attitude prediction network. .

在一种可能的实现方式中,所述目标对象对应的可微分渲染信息可以包括:渲染分割掩码、渲染二维图像、渲染深度图像,所述根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的训练总损失,可以包括:In a possible implementation manner, the differentiable rendering information corresponding to the target object may include: rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image, and the segmentation according to the two-dimensional sample image, the predicted segmentation The mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information, to determine the total training loss of the pose prediction network, may include:

根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失;determining a first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image;

根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失;determining a second self-supervised training loss according to the predicted segmentation mask and the rendered segmentation mask;

根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失;determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image;

根据所述第一自监督训练损失、所述第二自监督训练损失及所述第三自监督训练损失,确定所述姿态预测网络的自监督训练总损失。According to the first self-supervised training loss, the second self-supervised training loss and the third self-supervised training loss, a total self-supervised training loss of the pose prediction network is determined.

举例来说,上述渲染分割掩码可以为渲染得到的掩码图像,该渲染分割掩码中任一像素点的像素值用于标识该像素点是否为样本二维图像中目标对象中的像素点。渲染二维图像可以为通过目标对象的三维模型及预测姿态信息得到的二维图像,渲染深度图像可以为通过目标对象的三维模型及预测姿态信息得到的深度图像,渲染过程可以通过相关技术的渲染器(例如软栅格化渲染引擎(Soft-Rasterizer))进行完成,本公开实施例对此不再赘述。For example, the above-mentioned rendering segmentation mask may be a rendered mask image, and the pixel value of any pixel in the rendering segmentation mask is used to identify whether the pixel is a pixel in the target object in the sample two-dimensional image. . The rendered two-dimensional image can be a two-dimensional image obtained through the three-dimensional model of the target object and the predicted attitude information, and the rendered depth image can be a depth image obtained through the three-dimensional model of the target object and the predicted attitude information. The rendering process can be rendered through related technologies. This is done using a processor (for example, a Soft-Rasterizer), which is not repeated in this embodiment of the present disclosure.

可以建立二维样本图像及渲染二维图像之间的视觉一致性约束,建立预测分割掩码与所述渲染分割掩码之间的视觉一致性约束,建立二维样本图像对应的深度图像与所述渲染深度图像之间的几何一致性约束,通过优化视觉一致性和几何一致性这两种自监督约束,从而优化姿态预测网络。The visual consistency constraint between the two-dimensional sample image and the rendered two-dimensional image can be established, the visual consistency constraint between the predicted segmentation mask and the rendered segmentation mask can be established, and the depth image corresponding to the two-dimensional sample image can be established. The geometric consistency constraints between the rendered depth images are described, and the pose prediction network is optimized by optimizing the two self-supervised constraints of visual consistency and geometric consistency.

姿态预测网络的训练总损失包括通过视觉一致性约束确定的损失和通过几何一致性约束确定的损失,其中,通过视觉一致性约束确定的损失包括第一训练损失和第二训练损失,通过几何一致性约束确定的损失包括第三训练损失,姿态预测网络的自监督训练总损失可以通过以下公式(一)确定。The total training loss of the pose prediction network includes the loss determined by the visual consistency constraint and the loss determined by the geometric consistency constraint, wherein the loss determined by the visual consistency constraint includes the first training loss and the second training loss, and the geometric consistency is determined by the loss. The loss determined by the sexual constraint includes the third training loss, and the total loss of self-supervised training of the pose prediction network can be determined by the following formula (1).

Lself=Lvisual+ηLgeom 公式(一)L self =L visual +ηL geom formula (1)

其中,Lself表示自监督训练总损失,Lvisual表示通过视觉一致性约束确定的损失,Lgeom表示通过几何一致性约束确定的损失,也即Lvisual=第一自监督训练损失+第二自监督训练损失,Lgeom=第三自监督训练损失,η表示第三自监督训练损失的权重。Among them, L self represents the total loss of self-supervised training, L visual represents the loss determined by the visual consistency constraint, and L geom represents the loss determined by the geometric consistency constraint, that is, L visual = the first self-supervised training loss + the second self Supervised training loss, L geom = third self-supervised training loss, η represents the weight of the third self-supervised training loss.

在一种可能的实现方式中,所述根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失,可以包括:In a possible implementation manner, the determining the first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image may include:

分别将所述二维样本图像及所述渲染二维图像转换为颜色模型LAB模式后,根据转换模式后的二维样本图像、转换模式后的渲染二维图像及所述预测分割掩码,采用第一损失函数确定第一图像损失;After the two-dimensional sample image and the rendered two-dimensional image are respectively converted into the color model LAB mode, according to the two-dimensional sample image after the conversion mode, the rendered two-dimensional image after the conversion mode, and the predicted segmentation mask, using the first loss function determines the first image loss;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第二损失函数确定第二图像损失,所述第二损失函数为基于多尺度结构相似性指标的损失函数;According to the two-dimensional sample image, the rendered two-dimensional image and the predicted segmentation mask, a second loss function is used to determine a second image loss, and the second loss function is a loss function based on a multi-scale structural similarity index ;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第三损失函数确定第三图像损失,所述第三损失函数为基于深度卷积神经网络的多尺度特征距离的损失函数;According to the 2D sample image, the rendered 2D image and the predicted segmentation mask, a third loss function is used to determine a third image loss, and the third loss function is a multi-scale feature based on a deep convolutional neural network The loss function of distance;

根据所述第一图像损失、所述第二图像损失及所述第三图像损失,确定所述第一自监督训练损失。The first self-supervised training loss is determined from the first image loss, the second image loss, and the third image loss.

举例来说,可以采用三种损失函数确定第一自监督训练损失。For example, three loss functions can be employed to determine the first self-supervised training loss.

第一损失函数是将二维样本图像及渲染二维图像分别转换到LAB(CIELab colormodel,LAB颜色模型)模式,并将转换为LAB模式后的二维样本图像及渲染二维图像丢弃亮度L通道后,计算两者间的1范数距离为第一图像损失,第一损失函数可以参照以下公式(二)。The first loss function is to convert the two-dimensional sample image and the rendered two-dimensional image to LAB (CIELab colormodel, LAB color model) mode respectively, and discard the luminance L channel of the two-dimensional sample image and rendered two-dimensional image after conversion to LAB mode. Then, the 1-norm distance between the two is calculated as the first image loss, and the first loss function can refer to the following formula (2).

Figure BDA0002567409500000131
Figure BDA0002567409500000131

其中,Lab可表示第一图像损失,Mp表示预测分割掩码,N+可以表示预测分割掩码中像素值大于0的区域,ρ可以表示颜色空间变换操作,IS可以表示二维样本图像,IR可以表示渲染二维图像,

Figure BDA0002567409500000132
表示预测分割掩码中第j个像素点。Among them, Lab can represent the first image loss, M p represents the predicted segmentation mask, N + can represent the region where the pixel value is greater than 0 in the predicted segmentation mask, ρ can represent the color space transformation operation, and IS can represent the two-dimensional sample image, IR can represent rendering a two-dimensional image,
Figure BDA0002567409500000132
Represents the jth pixel in the predicted segmentation mask.

第二损失函数是基于MS-SSIM(Multi-Scale-Structural Similarity Index,多尺度相似性指标)的损失函数,第二损失函数可以参照以下公式(三)。The second loss function is a loss function based on MS-SSIM (Multi-Scale-Structural Similarity Index, multi-scale similarity index). The second loss function can refer to the following formula (3).

Lms-ssim=1-ms-ssim(IS⊙MP,IR,S) 公式(三)L ms-ssim =1-ms-ssim(I S ⊙M P ,I R ,S) Formula (3)

其中,Lms-ssim可以表示第二图像损失,ms-ssim表示多尺度相似性指标函数,⊙表示逐元素乘法,S为所采用的尺度数量,示例性的,S可以取值为5。Wherein, L ms-ssim can represent the second image loss, ms-ssim represents a multi-scale similarity index function, ⊙ represents element-wise multiplication, and S is the number of scales used, exemplarily, S can take a value of 5.

第三损失函数是基于深度卷积神经网络的感知度量损失函数,可以利用预训练的深度卷积神经网络分别提取二维样本图像和渲染二维图像不同层的特征,求解二维样本图像及渲染二维图像归一化后的特征之间的平均2范数距离,作为第三图像损失,第三损失函数可以参照下述公式(四)。The third loss function is a perceptual metric loss function based on a deep convolutional neural network. The pre-trained deep convolutional neural network can be used to extract the features of different layers of the two-dimensional sample image and render the two-dimensional image, and solve the two-dimensional sample image and rendering. The average 2-norm distance between the normalized features of the two-dimensional image is used as the third image loss, and the third loss function can refer to the following formula (4).

Figure BDA0002567409500000141
Figure BDA0002567409500000141

其中,Lperceptual表示第三图像损失,L为所取得特征的总层数,l可以表示层序号,

Figure BDA0002567409500000142
可以表示归一化的特征,Nl是第l层特征的集合,|Nl|是第l层特征的个数,示例性的,L可以取值为5。Among them, L perceptual represents the third image loss, L is the total number of layers of the acquired features, l can represent the layer number,
Figure BDA0002567409500000142
It can represent a normalized feature, N l is a set of features of the lth layer, |N l | is the number of features of the lth layer, exemplarily, L can take a value of 5.

第一图像损失、第二图像损失及第三图像损失加权求和即得到第一自监督训练损失。The first self-supervised training loss is obtained by the weighted summation of the first image loss, the second image loss, and the third image loss.

在一种可能的实现方式中,上述根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失,可以包括:In a possible implementation manner, the above-mentioned determination of the second self-supervised training loss according to the prediction segmentation mask and the rendering segmentation mask may include:

根据所述预测分割掩码及所述渲染分割掩码,采用交叉熵损失函数确定第二自监督训练损失。Based on the predicted segmentation mask and the rendered segmentation mask, a cross-entropy loss function is used to determine a second self-supervised training loss.

举例来说,由于预测分割掩码的缺陷性,预测分割掩码与渲染分割掩码的一致性约束采用一种将正负区域权重重新调整的交叉熵损失函数,可以参照下述公式(五)。For example, due to the defect of the prediction segmentation mask, the consistency constraint between the prediction segmentation mask and the rendering segmentation mask adopts a cross-entropy loss function that readjusts the weights of the positive and negative regions, and can refer to the following formula (5) .

Figure BDA0002567409500000143
Figure BDA0002567409500000143

其中,Lmask表示第二自监督训练损失,MR表示渲染分割掩码,N-可以表示预测分割掩码中像素值等于0的区域,

Figure BDA0002567409500000144
表示渲染分割掩码中第j个像素点。where L mask represents the second self-supervised training loss, MR represents the rendering segmentation mask, N - can represent the region where the pixel value is equal to 0 in the predicted segmentation mask,
Figure BDA0002567409500000144
Represents the jth pixel in the rendered segmentation mask.

在一种可能的实现方式中,所述根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失,可以包括:In a possible implementation manner, the determining the third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image may include:

分别对所述二维样本图像对应的深度图像与所述渲染深度图像进行逆投影操作,得到所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息;Perform a back-projection operation on the depth image corresponding to the two-dimensional sample image and the rendered depth image, respectively, to obtain point cloud information corresponding to the depth image and point cloud information corresponding to the rendered depth image;

根据所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息,确定第三自监督训练损失。A third self-supervised training loss is determined according to the point cloud information corresponding to the depth image and the point cloud information corresponding to the rendered depth image.

举例来说,可以分别将二维样本图像对应的深度图像与渲染深度图像经过逆投影操作转化为相机坐标系下的点云信息,对二维样本图像对应的深度图像与渲染深度图像对应的点云信息建立几何一致性约束,示例性的,通过点云信息之间的倒角(chamfer)距离建立几何一致性约束。其中,逆投影操作可以参照下述公式(六),倒角(chamfer)距离的计算可以参照公式(七)。For example, the depth image corresponding to the two-dimensional sample image and the rendered depth image can be respectively converted into point cloud information in the camera coordinate system through the back-projection operation, and the depth image corresponding to the two-dimensional sample image and the point corresponding to the rendered depth image can be converted into point cloud information in the camera coordinate system. The cloud information establishes a geometric consistency constraint, exemplarily, the geometric consistency constraint is established by the chamfer distance between the point cloud information. The back projection operation may refer to the following formula (6), and the calculation of the chamfer distance may refer to the formula (7).

Figure BDA0002567409500000151
Figure BDA0002567409500000151

其中,D可以表示深度图像(二维样本图像对应的深度图像或渲染深度图像),M可以表示分割掩码(预测分割掩码或者渲染分割掩码),K可以表示相机内部参数,xj和yj可以表示第j个像素点的二维坐标。Among them, D can represent the depth image (the depth image corresponding to the two-dimensional sample image or the rendered depth image), M can represent the segmentation mask (prediction segmentation mask or rendering segmentation mask), K can represent the camera internal parameters, x j and y j can represent the two-dimensional coordinates of the jth pixel.

Figure BDA0002567409500000152
Figure BDA0002567409500000152

其中,pS可以表示二维样本图像对应的深度图像对应的点云信息,pR可以表示渲染深度图像对应的点云信息,Lgeom可以表示第三自监督训练损失。Among them, p S can represent the point cloud information corresponding to the depth image corresponding to the two-dimensional sample image, p R can represent the point cloud information corresponding to the rendered depth image, and L geom can represent the third self-supervised training loss.

也即,可以通过下述公式(八)计算网络总损失:That is, the total network loss can be calculated by the following formula (8):

Lself=Lmask+αLab+βLms-ssin+γLperceptual+ηLgeom 公式(八)L self =L mask +αL ab +βL ms-ssin +γL perceptual +ηL geom formula (8)

其中,α、β、γ分别为第一图像损失、第二图像损失和第三图像损失的权重,例如:α=0.2、β=1,γ=0.15。Among them, α, β, and γ are the weights of the first image loss, the second image loss, and the third image loss, for example: α=0.2, β=1, and γ=0.15.

在得到自监督网络训练总损失后,可以根据自监督网络训练总损失训练姿态预测网络,示例性的,姿态预测网络的自监督训练过程可以参照图2。After obtaining the total loss of self-supervised network training, the attitude prediction network can be trained according to the total loss of self-supervised network training. For an exemplary self-supervised training process of the attitude prediction network, refer to FIG. 2 .

在一种可能的实现方式中,所述姿态预测网络包括:类别预测子网络、边界框预测子网络、和姿态预测子网络,In a possible implementation manner, the posture prediction network includes: a category prediction sub-network, a bounding box prediction sub-network, and a posture prediction sub-network,

所述通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,可以包括:The predicting the two-dimensional sample image through the attitude prediction network to obtain the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted attitude information corresponding to the target object may include:

通过所述类别预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的类别信息;Predict the two-dimensional sample image through the category prediction sub-network, and obtain category information corresponding to the target object in the two-dimensional sample image;

通过所述边界框预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的边界框信息;Predict the two-dimensional sample image through the bounding box prediction sub-network, and obtain bounding box information corresponding to the target object in the two-dimensional sample image;

通过所述姿态预测子网络对所述二维样本图像、所述类别信息及所述边界框信息进行处理,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息。The 2D sample image, the category information and the bounding box information are processed by the pose prediction sub-network to obtain the predicted segmentation mask corresponding to the target object in the 2D sample image and the corresponding target object the predicted pose information.

举例来说,类别预测子网络和边界框预测子网络可以构建于基于FPN(FeaturePyramid Network,特征金字塔)的检测器上,通过类别预测子网络对二维样本图像进行预测,得到二维样本图像中目标对象的类别信息,并根据边界框预测子网络对二维样本图像进行预测,得到二维样本图像中目标对象对应的边界框信息。将其中检测器提取FPN特征融合,示例性地,可以为将不同FPN层的特征先用1×1卷积从128维降到64维,然后用双线性插值将不同层特征的空间大小上采样或下采样到输入图像的1/8(如输入图片480×640,则统一到60×80),然后将统一大小的不同层的特征在维度上进行拼接。For example, the category prediction sub-network and the bounding box prediction sub-network can be constructed on the detector based on FPN (Feature Pyramid Network, Feature Pyramid). The category information of the target object is predicted, and the two-dimensional sample image is predicted according to the bounding box prediction sub-network, and the bounding box information corresponding to the target object in the two-dimensional sample image is obtained. The FPN features extracted by the detector are fused. Exemplarily, the features of different FPN layers can be reduced from 128 dimensions to 64 dimensions by 1×1 convolution, and then the spatial size of the features of different layers can be increased by bilinear interpolation. Sampling or down-sampling to 1/8 of the input image (if the input image is 480×640, it is unified to 60×80), and then the features of different layers of the same size are spliced in dimension.

融合FPN特征后,将融合的FPN特征与二维样本图像及二维样本图像对应的二维坐标进行拼接后,得到新的特征。将新的特征和边界框信息通过目标检测特殊层(ROI-Align)得到基于每个目标对象的特征,由姿态预测子网络对每个目标对象的特征进行处理,得到目标对象对应的姿态信息和预测分割掩码。After the FPN features are fused, new features are obtained by splicing the fused FPN features with the two-dimensional sample image and the two-dimensional coordinates corresponding to the two-dimensional sample image. The new features and bounding box information are obtained through the target detection special layer (ROI-Align) to obtain the features based on each target object, and the pose prediction sub-network processes the features of each target object to obtain the corresponding pose information and Predicted segmentation mask.

其中,姿态预测子网络可以包括:掩码预测子网络、四元数子网络、2D中心点预测子网络和中心点离相机距离预测子网络,掩码预测子网络输出预测分割掩码,四元数子网络输出三维旋转信息,2D中心点预测子网络输出二维坐标,该二维坐标经变换后与中心点离相机距离预测子网络输出的坐标信息,共同得到目标对象的三维平移信息,该三维平移信息与三维旋转信息组成目标对象的姿态信息,参照图3。The pose prediction sub-network may include: a mask prediction sub-network, a quaternion sub-network, a 2D center point prediction sub-network and a center point distance prediction sub-network, a mask prediction sub-network outputs a prediction segmentation mask, and a quaternion sub-network The network outputs three-dimensional rotation information, and the 2D center point prediction sub-network outputs two-dimensional coordinates. The two-dimensional coordinates are transformed with the coordinate information output by the center point from the camera distance prediction sub-network to jointly obtain the three-dimensional translation information of the target object. The three-dimensional translation The information and the three-dimensional rotation information constitute the attitude information of the target object, refer to FIG. 3 .

在一种可能的实现方式中,在所述通过姿态预测网络对二维样本图像进行预测之前,所述方法还可以包括:In a possible implementation manner, before the two-dimensional sample image is predicted by the pose prediction network, the method may further include:

根据物体的三维模型及预设姿态信息进行渲染合成操作,得到合成二维图像及所述合成二维图像的标注信息,所述合成二维图像的标注信息包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码;Rendering and synthesizing operations are performed according to the 3D model of the object and the preset posture information to obtain a synthesized 2D image and annotation information of the synthesized 2D image, where the annotation information of the synthesized 2D image includes annotated object category information and annotated bounding box information , preset pose information and preset synthetic segmentation mask;

通过所述姿态预测网络对所述合成二维图像进行预测,得到所述合成二维图像的预测信息,所述预测信息包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息;Predict the synthetic 2D image through the pose prediction network to obtain prediction information of the synthetic 2D image, where the prediction information includes predicted object category information, predicted bounding box information, predicted synthetic segmentation mask, and predicted synthetic attitude information;

根据所述预测信息及所述合成二维图像的标注信息,训练所述姿态训练网络。The pose training network is trained according to the prediction information and the annotation information of the synthesized two-dimensional image.

举例来说,在通过二维样本信息自监督训练姿态预测网络之前,可以通过合成的二维图像预训练姿态预测网络。For example, the pose prediction network can be pre-trained on synthetic 2D images before self-supervised training of the pose prediction network with 2D sample information.

示例性的,可以通过已知的物体的三维模型和预设姿态信息通过OpenGL(OpenGraphics Library,开放图形库)和基于物理引擎的渲染器得到合成二维图像,在合成过程中可以得到合成二维图像的标注信息,包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码。Exemplarily, a synthetic two-dimensional image can be obtained through OpenGL (OpenGraphics Library, Open Graphics Library) and a renderer based on a physics engine through the known three-dimensional model of the object and the preset attitude information, and a synthetic two-dimensional image can be obtained during the synthesis process. Annotation information of an image, including annotated object category information, annotated bounding box information, preset pose information, and preset synthetic segmentation mask.

通过姿态预测网络对合成二维图像进行处理,得到合成二维图像的预测信息,该预测信息可以包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息。The synthetic 2D image is processed by the pose prediction network to obtain the prediction information of the synthetic 2D image, the prediction information may include predicted object category information, predicted bounding box information, predicted synthesized segmentation mask and predicted synthesized pose information.

在训练过程中,可以根据预测物体类别信息和标注物体类别信息计算第一损失,根据预测边界框信息和标注边界框信息计算第二损失,根据预测合成分割掩码预和预设合成分割掩码计算第三损失,及根据预测合成姿态信息和预设姿态信息计算第四损失,姿态预测网络的总损失可以包括第一损失、第二损失、第三损失和第四损失,可以通过以下公式(九)确定姿态预测网络的总损失。In the training process, the first loss can be calculated according to the predicted object category information and the labeled object category information, the second loss can be calculated according to the predicted bounding box information and the labeled bounding box information, and the predicted synthetic segmentation mask can be pre- and the preset synthetic segmentation mask. Calculate the third loss, and calculate the fourth loss according to the predicted synthetic attitude information and the preset attitude information. The total loss of the attitude prediction network can include the first loss, the second loss, the third loss and the fourth loss, which can be calculated by the following formula ( 9) Determine the total loss of the pose prediction network.

Lsynthetic=λclassLfocalboxLgioumaskLbceposeLpose 公式(九)L syntheticclass L focalbox L gioumask L bcepose L pose formula (9)

Lsynthetic可以表示姿态预测网络的总损失,Lfocal、Lgiou、Lbce、Lpose分别表示第一损失、第二损失、第三损失及第四损失,其中,

Figure BDA0002567409500000181
表示物体的三维模型M的点x经过预测姿态信息
Figure BDA0002567409500000182
和预设姿态信息
Figure BDA0002567409500000183
变换后的点之间的平均1范数距离,其中,
Figure BDA0002567409500000184
是预测姿态信息中的三维旋转信息,
Figure BDA0002567409500000185
是预测姿态信息中的三维平移信息,
Figure BDA0002567409500000186
是预设姿态信息中的三维旋转信息,
Figure BDA0002567409500000187
是预设姿态信息中的三维平移信息,λclass、λbox、λmask、λpose分别用于表示第一损失、第二损失、第三损失及第四损失的权重,可以取相同的值也可以取不同的值。L synthetic can represent the total loss of the pose prediction network, L focal , L giou , L bce , and L pose represent the first loss, the second loss, the third loss and the fourth loss, respectively, where,
Figure BDA0002567409500000181
The point x representing the three-dimensional model M of the object has the predicted pose information
Figure BDA0002567409500000182
and preset attitude information
Figure BDA0002567409500000183
Average 1-norm distance between transformed points, where,
Figure BDA0002567409500000184
is the three-dimensional rotation information in the predicted attitude information,
Figure BDA0002567409500000185
is the three-dimensional translation information in the predicted attitude information,
Figure BDA0002567409500000186
is the three-dimensional rotation information in the preset attitude information,
Figure BDA0002567409500000187
is the three-dimensional translation information in the preset pose information. λ class , λ box , λ mask , and λ pose are used to represent the weights of the first loss, the second loss, the third loss and the fourth loss, respectively, and can take the same value or Can take different values.

在完后根据合成二维图像进行的预训练后,采用二维样本图像自监督训练姿态预测网络时,可以仅训练姿态预测子网络,其他网络不再更新网络参数。After the pre-training based on the synthetic two-dimensional images, when using the two-dimensional sample images to self-supervised the training of the attitude prediction network, only the attitude prediction sub-network can be trained, and the network parameters of other networks will not be updated.

为使本领域技术人员更好的理解本公开实施例,以下通过具体示例对本公开实施例加以说明。In order to make those skilled in the art better understand the embodiments of the present disclosure, the following describes the embodiments of the present disclosure through specific examples.

参照图4,姿态预测网络的训练分为两个阶段。Referring to Figure 4, the training of the pose prediction network is divided into two stages.

第一阶段,用物体的三维模型通过OpenGL和基于物理引擎的渲染方法生成大量合成二维图像,合成过程中可以得到合成二维图像的标识信息,训练姿态预测网络,输出物体的类别信息、边界框信息、预测分割掩码和姿态信息。In the first stage, the 3D model of the object is used to generate a large number of synthetic 2D images through OpenGL and the rendering method based on the physics engine. During the synthesis process, the identification information of the synthesized 2D image can be obtained, the pose prediction network is trained, and the category information and boundary of the object are output. Box information, predicted segmentation mask and pose information.

第二阶段,利用未标注的真实二维样本图像,输入该姿态预测网络,得到二维样本图像中目标对象的预测姿态信息和预测分割掩码,将预测姿态信息和目标对象的三维模型输入可微分的渲染器,得到渲染分割掩码、渲染二维图像和渲染深度图像,在渲染分割掩码与预测分割掩码、渲染二维图像与真实二维样本图像之间建立视觉一致性约束,在渲染深度图与二维样本图像对应的深度图像分别对应的点云信息之间建立几何一致性约束,通过优化这两种自监督约束,从而自监督训练姿态预测网络。In the second stage, the unlabeled real 2D sample image is used to input the pose prediction network to obtain the predicted pose information and predicted segmentation mask of the target object in the 2D sample image, and the predicted pose information and the 3D model of the target object are input to the Differentiated renderer, obtains the rendered segmentation mask, renders the 2D image and renders the depth image, establishes visual consistency constraints between the rendered segmentation mask and the predicted segmentation mask, the rendered 2D image and the real 2D sample image, in the A geometric consistency constraint is established between the point cloud information corresponding to the depth image corresponding to the rendered depth map and the two-dimensional sample image, and the pose prediction network is trained by self-supervision by optimizing these two self-supervision constraints.

本公开实施例提供一种姿态预测方法,包括:Embodiments of the present disclosure provide a gesture prediction method, including:

通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The image to be processed is predicted and processed by the attitude prediction network, and the attitude information of the target object in the image to be processed is obtained,

其中,所述姿态预测网络为采用前述中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by training using any one of the network training methods described above.

举例来说,可以通过前述任一种方法训练得到的姿态预测网络对待处理图像进行预测处理,得到待处理图像中目标对象的姿态信息。For example, the pose prediction network trained by any of the foregoing methods can perform prediction processing on the image to be processed to obtain the pose information of the target object in the image to be processed.

这样,根据本公开实施例提供的姿态预测方法,可以提高姿态预测的精准度。In this way, according to the gesture prediction method provided by the embodiments of the present disclosure, the accuracy of gesture prediction can be improved.

可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above-mentioned method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle and logic. Those skilled in the art can understand that, in the above method of the specific embodiment, the specific execution order of each step should be determined by its function and possible internal logic.

此外,本公开还提供了网络训练装置、姿态预测装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开提供的任一种网络训练方法和姿态预测方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the present disclosure also provides a network training device, an attitude prediction device, an electronic device, a computer-readable storage medium, and a program, all of which can be used to implement any of the network training methods and attitude prediction methods provided by the present disclosure, and the corresponding technical solutions and The description and reference to the corresponding records in the method section will not be repeated.

图5示出根据本公开实施例的网络训练装置的框图,如图5所示,所述装置包括:FIG. 5 shows a block diagram of a network training apparatus according to an embodiment of the present disclosure. As shown in FIG. 5 , the apparatus includes:

预测模块51,可以用于通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;The prediction module 51 can be used to predict the two-dimensional sample image through a posture prediction network, and obtain the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object. The information includes three-dimensional rotation information and three-dimensional translation information;

渲染模块52,可以用于根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;The rendering module 52 can be configured to perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain differentiable rendering information corresponding to the target object;

确定模块53,可以用于根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;The determination module 53 can be used to determine the self-supervised training of the pose prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information total loss;

自监督训练模块54,可以用于根据所述自监督训练总损失训练所述姿态预测网络。A self-supervised training module 54 may be used to train the pose prediction network according to the self-supervised training total loss.

这样,可以通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息,并根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息。根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失,并根据所述自监督训练总损失训练所述姿态预测网络。根据本公开实施例提供的网络训练装置,通过对没有标注信息的二维样本图像和深度图像上自监督地训练姿态预测网络,能够在提高姿态预测网络的精准度的同时,提高姿态预测网络的训练效率。In this way, the two-dimensional sample image can be predicted through a posture prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object can be obtained, and the predicted posture information includes three-dimensional rotation. information and three-dimensional translation information, and perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain the differentiable rendering information corresponding to the target object. According to the 2D sample image, the predicted segmentation mask, the depth image corresponding to the 2D sample image, and the differentiable rendering information, determine the total loss of self-supervised training of the pose prediction network, and according to the Self-supervised training total loss trains the pose prediction network. According to the network training device provided by the embodiments of the present disclosure, by self-supervised training of the attitude prediction network on two-dimensional sample images and depth images without label information, the accuracy of the attitude prediction network can be improved while the accuracy of the attitude prediction network can be improved. training efficiency.

在一种可能的实现方式中,所述目标对象对应的渲染信息包括:渲染分割掩码、渲染二维图像、渲染深度图像,所述确定模块53,还可以用于:In a possible implementation manner, the rendering information corresponding to the target object includes: rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image, and the determining module 53 can also be used for:

根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失;determining a first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image;

根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失;determining a second self-supervised training loss according to the predicted segmentation mask and the rendered segmentation mask;

根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失;determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image;

根据所述第一自监督训练损失、所述第二自监督训练损失及所述第三自监督训练损失,确定所述姿态预测网络的自监督训练总损失。According to the first self-supervised training loss, the second self-supervised training loss and the third self-supervised training loss, a total self-supervised training loss of the pose prediction network is determined.

在一种可能的实现方式中,所述确定模块53,还可以用于:In a possible implementation manner, the determining module 53 may also be used to:

分别将所述二维样本图像及所述渲染二维图像转换为颜色模型LAB模式后,根据转换模式后的二维样本图像、转换模式后的渲染二维图像及所述预测分割掩码,采用第一损失函数确定第一图像损失;After the two-dimensional sample image and the rendered two-dimensional image are respectively converted into the color model LAB mode, according to the two-dimensional sample image after the conversion mode, the rendered two-dimensional image after the conversion mode, and the predicted segmentation mask, using the first loss function determines the first image loss;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第二损失函数确定第二图像损失,所述第二损失函数为基于多尺度结构相似性指标的损失函数;According to the two-dimensional sample image, the rendered two-dimensional image and the predicted segmentation mask, a second loss function is used to determine a second image loss, and the second loss function is a loss function based on a multi-scale structural similarity index ;

根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第三损失函数确定第三图像损失,所述第三损失函数为基于深度卷积神经网络的多尺度特征距离的损失函数;According to the 2D sample image, the rendered 2D image and the predicted segmentation mask, a third loss function is used to determine a third image loss, and the third loss function is a multi-scale feature based on a deep convolutional neural network The loss function of distance;

根据所述第一图像损失、所述第二图像损失及所述第三图像损失,确定所述第一自监督训练损失。The first self-supervised training loss is determined from the first image loss, the second image loss, and the third image loss.

在一种可能的实现方式中,所述确定模块53,还可以用于:In a possible implementation manner, the determining module 53 may also be used to:

根据所述预测分割掩码及所述渲染分割掩码,采用交叉熵损失函数确定第二自监督训练损失。Based on the predicted segmentation mask and the rendered segmentation mask, a cross-entropy loss function is used to determine a second self-supervised training loss.

在一种可能的实现方式中,所述确定模块53,还可以用于:In a possible implementation manner, the determining module 53 may also be used to:

分别对所述二维样本图像对应的深度图像与所述渲染深度图像进行逆投影操作,得到所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息;Perform a back-projection operation on the depth image corresponding to the two-dimensional sample image and the rendered depth image, respectively, to obtain point cloud information corresponding to the depth image and point cloud information corresponding to the rendered depth image;

根据所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息,确定第三自监督训练损失。A third self-supervised training loss is determined according to the point cloud information corresponding to the depth image and the point cloud information corresponding to the rendered depth image.

在一种可能的实现方式中,所述姿态预测网络可以包括:类别预测子网络、边界框预测子网络、和姿态预测子网络,所述预测模块51还可以用于:In a possible implementation manner, the posture prediction network may include: a category prediction sub-network, a bounding box prediction sub-network, and a posture prediction sub-network, and the prediction module 51 may also be used for:

通过所述类别预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的类别信息;Predict the two-dimensional sample image through the category prediction sub-network, and obtain category information corresponding to the target object in the two-dimensional sample image;

通过所述边界框预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的边界框信息;Predict the two-dimensional sample image through the bounding box prediction sub-network, and obtain bounding box information corresponding to the target object in the two-dimensional sample image;

通过所述姿态预测子网络对所述二维样本图像、所述类别信息及所述边界框信息进行处理,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息。The 2D sample image, the category information and the bounding box information are processed by the pose prediction sub-network to obtain the predicted segmentation mask corresponding to the target object in the 2D sample image and the corresponding target object the predicted pose information.

在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the apparatus may further include:

预训练模块,可以用于根据物体的三维模型及预设姿态信息进行渲染合成操作,得到合成二维图像及所述合成二维图像的标注信息,所述合成二维图像的标注信息包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码;The pre-training module can be used to perform a rendering synthesis operation according to the 3D model of the object and the preset posture information, and obtain a synthesized 2D image and label information of the synthesized 2D image, where the label information of the synthesized 2D image includes annotated objects Category information, labeled bounding box information, preset pose information, and preset synthetic segmentation masks;

通过所述姿态预测网络对所述合成二维图像进行预测,得到所述合成二维图像的预测信息,所述预测信息包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息;Predict the synthetic 2D image through the pose prediction network to obtain prediction information of the synthetic 2D image, where the prediction information includes predicted object category information, predicted bounding box information, predicted synthetic segmentation mask, and predicted synthetic attitude information;

根据所述预测信息及所述合成二维图像的标注信息,训练所述姿态预测网络。The pose prediction network is trained according to the prediction information and the annotation information of the synthesized two-dimensional image.

根据本公开的一方面,提供了一种姿态预测装置,所述装置可以包括:According to an aspect of the present disclosure, a posture prediction apparatus is provided, and the apparatus may include:

预测模块,用于通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The prediction module is used to perform prediction processing on the image to be processed through the attitude prediction network, and obtain the attitude information of the target object in the image to be processed,

其中,所述姿态预测网络为采用前述中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by training using any one of the network training methods described above.

这样,根据本公开实施例提供的姿态预测装置,可以提高姿态预测的精准度。In this way, according to the posture prediction apparatus provided by the embodiments of the present disclosure, the accuracy of posture prediction can be improved.

在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments. For specific implementation, reference may be made to the descriptions of the above method embodiments. For brevity, here No longer.

本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是非易失性计算机可读存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.

本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一实施例提供的网络训练方法和姿态预测方法的指令。Embodiments of the present disclosure also provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, the processor in the device executes the method for implementing the network training method and Instructions for the pose prediction method.

本公开实施例还提供了另一种计算机程序产品,用于存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的网络训练方法和姿态预测方法的操作。Embodiments of the present disclosure further provide another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the network training method and the attitude prediction method provided by any of the foregoing embodiments.

电子设备可以被提供为终端、服务器或其它形态的设备。The electronic device may be provided as a terminal, server or other form of device.

图6示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。FIG. 6 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc. terminal.

参照图6,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。6, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816 .

处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 804 is configured to store various types of data to support operation at electronic device 800 . Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。Power supply assembly 806 provides power to various components of electronic device 800 . Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800 .

多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 800 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of electronic device 800 . For example, the sensor assembly 814 can detect the on/off state of the electronic device 800, the relative positioning of the components, such as the display and the keypad of the electronic device 800, the sensor assembly 814 can also detect the electronic device 800 or one of the electronic device 800 Changes in the position of components, presence or absence of user contact with the electronic device 800 , orientation or acceleration/deceleration of the electronic device 800 and changes in the temperature of the electronic device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2G)或第三代移动通信技术(3G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as wireless network (WiFi), second generation mobile communication technology (2G) or third generation mobile communication technology (3G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium, such as a memory 804 comprising computer program instructions executable by the processor 820 of the electronic device 800 to perform the above method is also provided.

图7示出根据本公开实施例的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图7,电子设备1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 7 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. 7, electronic device 1900 includes processing component 1922, which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922, such as applications. An application program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 1922 is configured to execute instructions to perform the above-described methods.

电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个输入输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如微软服务器操作系统(Windows ServerTM),苹果公司推出的基于图形用户界面操作系统(Mac OSXTM),多用户多进程的计算机操作系统(UnixTM),自由和开放原代码的类Unix操作系统(LinuxTM),开放原代码的类Unix操作系统(FreeBSDTM)或类似。The electronic device 1900 may also include a power supply assembly 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input output (I/O) interface 1958 . The electronic device 1900 can operate based on an operating system stored in the memory 1932, such as a Microsoft server operating system (Windows Server ), a graphical user interface based operating system (Mac OSX ) introduced by Apple, a multi-user multi-process computer operating system ( Unix ), Free and Open Source Unix-like Operating System (Linux ), Open Source Unix-like Operating System (FreeBSD ) or the like.

在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设备1900的处理组件1922执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as memory 1932 comprising computer program instructions executable by processing component 1922 of electronic device 1900 to perform the above-described method.

本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present disclosure.

计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .

用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for carrying out operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source or object code, written in any combination, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through the Internet connect). In some embodiments, custom electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), can be personalized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present disclosure.

这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.

附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.

以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present disclosure have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.

Claims (12)

1.一种网络训练方法,其特征在于,包括:1. a network training method, is characterized in that, comprises: 通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;The two-dimensional sample image is predicted by the attitude prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted posture information corresponding to the target object are obtained. The predicted posture information includes three-dimensional rotation information and three-dimensional translation information; 根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;Perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, to obtain differentiable rendering information corresponding to the target object; 根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;determining the total loss of self-supervised training of the pose prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information; 根据所述自监督训练总损失训练所述姿态预测网络。The pose prediction network is trained according to the self-supervised training total loss. 2.根据权利要求1所述的方法,其特征在于,所述目标对象对应的可微分渲染信息包括:渲染分割掩码、渲染二维图像、渲染深度图像,2. The method according to claim 1, wherein the differentiable rendering information corresponding to the target object comprises: rendering a segmentation mask, rendering a two-dimensional image, and rendering a depth image, 所述根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失,包括:Determining the total loss of self-supervised training of the attitude prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information, including: 根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失;determining a first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image; 根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失;determining a second self-supervised training loss according to the predicted segmentation mask and the rendered segmentation mask; 根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失;determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image; 根据所述第一自监督训练损失、所述第二自监督训练损失及所述第三自监督训练损失,确定所述姿态预测网络的自监督训练总损失。According to the first self-supervised training loss, the second self-supervised training loss and the third self-supervised training loss, a total self-supervised training loss of the pose prediction network is determined. 3.根据权利要求2所述的方法,其特征在于,所述根据所述二维样本图像及所述渲染二维图像,确定第一自监督训练损失,包括:3. The method according to claim 2, wherein determining the first self-supervised training loss according to the two-dimensional sample image and the rendered two-dimensional image, comprising: 分别将所述二维样本图像及所述渲染二维图像转换为颜色模型LAB模式后,根据转换模式后的二维样本图像、转换模式后的渲染二维图像及所述预测分割掩码,采用第一损失函数确定第一图像损失;After the two-dimensional sample image and the rendered two-dimensional image are respectively converted into the color model LAB mode, according to the two-dimensional sample image after the conversion mode, the rendered two-dimensional image after the conversion mode, and the predicted segmentation mask, using the first loss function determines the first image loss; 根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第二损失函数确定第二图像损失,所述第二损失函数为基于多尺度结构相似性指标的损失函数;According to the two-dimensional sample image, the rendered two-dimensional image and the predicted segmentation mask, a second loss function is used to determine a second image loss, and the second loss function is a loss function based on a multi-scale structural similarity index ; 根据所述二维样本图像、所述渲染二维图像及所述预测分割掩码,采用第三损失函数确定第三图像损失,所述第三损失函数为基于深度卷积神经网络的多尺度特征距离的损失函数;According to the 2D sample image, the rendered 2D image and the predicted segmentation mask, a third loss function is used to determine a third image loss, and the third loss function is a multi-scale feature based on a deep convolutional neural network loss function of distance; 根据所述第一图像损失、所述第二图像损失及所述第三图像损失,确定所述第一自监督训练损失。The first self-supervised training loss is determined from the first image loss, the second image loss, and the third image loss. 4.根据权利要求2或3所述的方法,其特征在于,所述根据所述预测分割掩码及所述渲染分割掩码,确定第二自监督训练损失,包括:4. The method according to claim 2 or 3, wherein determining the second self-supervised training loss according to the prediction segmentation mask and the rendering segmentation mask, comprising: 根据所述预测分割掩码及所述渲染分割掩码,采用交叉熵损失函数确定第二自监督训练损失。Based on the predicted segmentation mask and the rendered segmentation mask, a cross-entropy loss function is used to determine a second self-supervised training loss. 5.根据权利要求2至4中任一项所述的方法,其特征在于,所述根据所述二维样本图像对应的深度图像与所述渲染深度图像,确定第三自监督训练损失,包括:5. The method according to any one of claims 2 to 4, wherein determining a third self-supervised training loss according to the depth image corresponding to the two-dimensional sample image and the rendered depth image, comprising: : 分别对所述二维样本图像对应的深度图像与所述渲染深度图像进行逆投影操作,得到所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息;Perform a back-projection operation on the depth image corresponding to the two-dimensional sample image and the rendered depth image, respectively, to obtain point cloud information corresponding to the depth image and point cloud information corresponding to the rendered depth image; 根据所述深度图像对应的点云信息及所述渲染深度图像对应的点云信息,确定第三自监督训练损失。A third self-supervised training loss is determined according to the point cloud information corresponding to the depth image and the point cloud information corresponding to the rendered depth image. 6.根据权利要求1至5中任一项所述的方法,其特征在于,所述姿态预测网络包括:类别预测子网络、边界框预测子网络、和姿态预测子网络,6. The method according to any one of claims 1 to 5, wherein the posture prediction network comprises: a category prediction sub-network, a bounding box prediction sub-network, and a posture prediction sub-network, 所述通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,包括:The two-dimensional sample image is predicted through the attitude prediction network, and the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted attitude information corresponding to the target object are obtained, including: 通过所述类别预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的类别信息;Predict the two-dimensional sample image through the category prediction sub-network, and obtain category information corresponding to the target object in the two-dimensional sample image; 通过所述边界框预测子网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的边界框信息;Predict the two-dimensional sample image through the bounding box prediction sub-network, and obtain bounding box information corresponding to the target object in the two-dimensional sample image; 通过所述姿态预测子网络对所述二维样本图像、所述类别信息及所述边界框信息进行处理,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息。The 2D sample image, the category information and the bounding box information are processed by the pose prediction sub-network to obtain the predicted segmentation mask corresponding to the target object in the 2D sample image and the corresponding target object the predicted pose information. 7.根据权利要求6所述的方法,其特征在于,在所述通过姿态预测网络对二维样本图像进行预测之前,所述方法还包括:7. The method according to claim 6, characterized in that, before the prediction of the two-dimensional sample image by the pose prediction network, the method further comprises: 根据物体的三维模型及预设姿态信息进行渲染合成操作,得到合成二维图像及所述合成二维图像的标注信息,所述合成二维图像的标注信息包括标注物体类别信息、标注边界框信息、预设姿态信息及预设合成分割掩码;Rendering and synthesizing operations are performed according to the 3D model of the object and the preset posture information to obtain a synthesized 2D image and annotation information of the synthesized 2D image, where the annotation information of the synthesized 2D image includes annotated object category information and annotated bounding box information , preset pose information and preset synthetic segmentation mask; 通过所述姿态预测网络对所述合成二维图像进行预测,得到所述合成二维图像的预测信息,所述预测信息包括预测物体类别信息、预测边界框信息、预测合成分割掩码及预测合成姿态信息;Predict the synthetic 2D image through the pose prediction network to obtain prediction information of the synthetic 2D image, where the prediction information includes predicted object category information, predicted bounding box information, predicted synthetic segmentation mask, and predicted synthetic attitude information; 根据所述预测信息及所述合成二维图像的标注信息,训练所述姿态预测网络。The pose prediction network is trained according to the prediction information and the annotation information of the synthesized two-dimensional image. 8.一种姿态预测方法,其特征在于,所述方法包括:8. A gesture prediction method, wherein the method comprises: 通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The image to be processed is predicted and processed by the attitude prediction network, and the attitude information of the target object in the image to be processed is obtained, 其中,所述姿态预测网络为采用权利要求1至7中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by using the network training method described in any one of claims 1 to 7. 9.一种网络训练装置,包括:9. A network training device, comprising: 预测模块,用于通过姿态预测网络对二维样本图像进行预测,得到所述二维样本图像中目标对象对应的预测分割掩码及所述目标对象对应的预测姿态信息,所述预测姿态信息包括三维旋转信息和三维平移信息;The prediction module is used to predict the two-dimensional sample image through the attitude prediction network, and obtain the predicted segmentation mask corresponding to the target object in the two-dimensional sample image and the predicted attitude information corresponding to the target object, and the predicted attitude information includes 3D rotation information and 3D translation information; 渲染模块,用于根据所述目标对象对应的预测姿态信息及所述目标对象对应的三维模型进行可微分渲染操作,得到所述目标对象对应的可微分渲染信息;a rendering module, configured to perform a differentiable rendering operation according to the predicted posture information corresponding to the target object and the three-dimensional model corresponding to the target object, and obtain differentiable rendering information corresponding to the target object; 确定模块,用于根据所述二维样本图像、所述预测分割掩码、所述二维样本图像对应的深度图像及所述可微分渲染信息,确定所述姿态预测网络的自监督训练总损失;A determination module, configured to determine the total loss of self-supervised training of the attitude prediction network according to the two-dimensional sample image, the predicted segmentation mask, the depth image corresponding to the two-dimensional sample image, and the differentiable rendering information ; 自监督训练模块,用于根据所述自监督训练总损失训练所述姿态预测网络。A self-supervised training module for training the pose prediction network according to the self-supervised training total loss. 10.一种姿态预测装置,其特征在于,所述装置包括:10. A posture prediction device, wherein the device comprises: 预测模块,用于通过姿态预测网络对待处理图像进行预测处理,得到所述待处理图像中目标对象的姿态信息,The prediction module is used to perform prediction processing on the image to be processed through the attitude prediction network to obtain the attitude information of the target object in the image to be processed, 其中,所述姿态预测网络为采用权利要求1至7中任一项所述的网络训练方法训练得到。Wherein, the posture prediction network is obtained by using the network training method described in any one of claims 1 to 7. 11.一种电子设备,其特征在于,包括:11. An electronic device, characterized in that, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至8中任意一项所述的方法。wherein the processor is configured to invoke the memory-stored instructions to perform the method of any one of claims 1-8. 12.一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至8中任意一项所述的方法。12. A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the method of any one of claims 1 to 8 when executed by a processor.
CN202010638037.2A 2020-07-02 2020-07-02 Network training method and device, and gesture prediction method and device Active CN111783986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010638037.2A CN111783986B (en) 2020-07-02 2020-07-02 Network training method and device, and gesture prediction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010638037.2A CN111783986B (en) 2020-07-02 2020-07-02 Network training method and device, and gesture prediction method and device

Publications (2)

Publication Number Publication Date
CN111783986A true CN111783986A (en) 2020-10-16
CN111783986B CN111783986B (en) 2024-06-14

Family

ID=72759605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010638037.2A Active CN111783986B (en) 2020-07-02 2020-07-02 Network training method and device, and gesture prediction method and device

Country Status (1)

Country Link
CN (1) CN111783986B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508007A (en) * 2020-11-18 2021-03-16 中国人民解放军战略支援部队航天工程大学 Space target 6D posture estimation technology based on image segmentation Mask and neural rendering
CN112529913A (en) * 2020-12-14 2021-03-19 北京达佳互联信息技术有限公司 Image segmentation model training method, image processing method and device
CN112529917A (en) * 2020-12-22 2021-03-19 中国第一汽车股份有限公司 Three-dimensional target segmentation method, device, equipment and storage medium
CN112926461A (en) * 2021-02-26 2021-06-08 商汤集团有限公司 Neural network training and driving control method and device
CN113256574A (en) * 2021-05-13 2021-08-13 中国科学院长春光学精密机械与物理研究所 Three-dimensional target detection method
CN113470124A (en) * 2021-06-30 2021-10-01 北京达佳互联信息技术有限公司 Training method and device of special effect model and special effect generation method and device
CN113592876A (en) * 2021-01-14 2021-11-02 腾讯科技(深圳)有限公司 Training method and device for split network, computer equipment and storage medium
CN114359303A (en) * 2021-12-28 2022-04-15 浙江大华技术股份有限公司 Image segmentation method and device
CN114511811A (en) * 2022-01-28 2022-05-17 北京百度网讯科技有限公司 Video processing method, video processing device, electronic equipment and medium
WO2022143314A1 (en) * 2020-12-29 2022-07-07 华为技术有限公司 Object registration method and apparatus
WO2022160898A1 (en) * 2021-01-29 2022-08-04 浙江师范大学 Unsupervised depth representation learning method and system based on image translation
CN114882301A (en) * 2022-07-11 2022-08-09 四川大学 Self-supervision learning medical image identification method and device based on region of interest
WO2022178952A1 (en) * 2021-02-25 2022-09-01 湖南大学 Target pose estimation method and system based on attention mechanism and hough voting
CN116681755A (en) * 2022-12-29 2023-09-01 广东美的白色家电技术创新中心有限公司 Pose prediction method and device
WO2023174182A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Rendering model training method and apparatus, video rendering method and apparatus, and device and storage medium
CN118274786A (en) * 2024-05-31 2024-07-02 四川宏大安全技术服务有限公司 Buried pipeline settlement monitoring method and system based on Beidou coordinates
WO2024188056A1 (en) * 2023-03-10 2024-09-19 北京字跳网络技术有限公司 Object posture recognition model construction method and apparatus, and object posture recognition method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150002542A1 (en) * 2013-06-28 2015-01-01 Calvin Chan Reprojection oled display for augmented reality experiences
CN105474273A (en) * 2013-07-25 2016-04-06 微软技术许可有限责任公司 Late stage reprojection
WO2018121737A1 (en) * 2016-12-30 2018-07-05 北京市商汤科技开发有限公司 Keypoint prediction, network training, and image processing methods, device, and electronic device
CN109215080A (en) * 2018-09-25 2019-01-15 清华大学 6D Attitude estimation network training method and device based on deep learning Iterative matching
US20190051056A1 (en) * 2017-08-11 2019-02-14 Sri International Augmenting reality using semantic segmentation
CN109872343A (en) * 2019-02-01 2019-06-11 视辰信息科技(上海)有限公司 Weak texture gestures of object tracking, system and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150002542A1 (en) * 2013-06-28 2015-01-01 Calvin Chan Reprojection oled display for augmented reality experiences
CN105474273A (en) * 2013-07-25 2016-04-06 微软技术许可有限责任公司 Late stage reprojection
WO2018121737A1 (en) * 2016-12-30 2018-07-05 北京市商汤科技开发有限公司 Keypoint prediction, network training, and image processing methods, device, and electronic device
US20190051056A1 (en) * 2017-08-11 2019-02-14 Sri International Augmenting reality using semantic segmentation
CN109215080A (en) * 2018-09-25 2019-01-15 清华大学 6D Attitude estimation network training method and device based on deep learning Iterative matching
CN109872343A (en) * 2019-02-01 2019-06-11 视辰信息科技(上海)有限公司 Weak texture gestures of object tracking, system and device

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508007B (en) * 2020-11-18 2023-09-29 中国人民解放军战略支援部队航天工程大学 Space target 6D attitude estimation method based on image segmentation Mask and neural rendering
CN112508007A (en) * 2020-11-18 2021-03-16 中国人民解放军战略支援部队航天工程大学 Space target 6D posture estimation technology based on image segmentation Mask and neural rendering
CN112529913A (en) * 2020-12-14 2021-03-19 北京达佳互联信息技术有限公司 Image segmentation model training method, image processing method and device
CN112529917A (en) * 2020-12-22 2021-03-19 中国第一汽车股份有限公司 Three-dimensional target segmentation method, device, equipment and storage medium
CN114758334A (en) * 2020-12-29 2022-07-15 华为技术有限公司 Object registration method and device
WO2022143314A1 (en) * 2020-12-29 2022-07-07 华为技术有限公司 Object registration method and apparatus
CN113592876A (en) * 2021-01-14 2021-11-02 腾讯科技(深圳)有限公司 Training method and device for split network, computer equipment and storage medium
WO2022160898A1 (en) * 2021-01-29 2022-08-04 浙江师范大学 Unsupervised depth representation learning method and system based on image translation
WO2022178952A1 (en) * 2021-02-25 2022-09-01 湖南大学 Target pose estimation method and system based on attention mechanism and hough voting
CN112926461B (en) * 2021-02-26 2024-04-19 商汤集团有限公司 Neural network training, driving control method and device
CN112926461A (en) * 2021-02-26 2021-06-08 商汤集团有限公司 Neural network training and driving control method and device
CN113256574A (en) * 2021-05-13 2021-08-13 中国科学院长春光学精密机械与物理研究所 Three-dimensional target detection method
CN113256574B (en) * 2021-05-13 2022-10-25 中国科学院长春光学精密机械与物理研究所 Three-dimensional target detection method
CN113470124B (en) * 2021-06-30 2023-09-22 北京达佳互联信息技术有限公司 Training method and device for special effect model, and special effect generation method and device
CN113470124A (en) * 2021-06-30 2021-10-01 北京达佳互联信息技术有限公司 Training method and device of special effect model and special effect generation method and device
CN114359303A (en) * 2021-12-28 2022-04-15 浙江大华技术股份有限公司 Image segmentation method and device
CN114511811A (en) * 2022-01-28 2022-05-17 北京百度网讯科技有限公司 Video processing method, video processing device, electronic equipment and medium
WO2023174182A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Rendering model training method and apparatus, video rendering method and apparatus, and device and storage medium
CN114882301B (en) * 2022-07-11 2022-09-13 四川大学 Self-supervised learning medical image recognition method and device based on region of interest
CN114882301A (en) * 2022-07-11 2022-08-09 四川大学 Self-supervision learning medical image identification method and device based on region of interest
CN116681755A (en) * 2022-12-29 2023-09-01 广东美的白色家电技术创新中心有限公司 Pose prediction method and device
CN116681755B (en) * 2022-12-29 2024-02-09 广东美的白色家电技术创新中心有限公司 Pose prediction method and device
WO2024188056A1 (en) * 2023-03-10 2024-09-19 北京字跳网络技术有限公司 Object posture recognition model construction method and apparatus, and object posture recognition method and apparatus
CN118274786A (en) * 2024-05-31 2024-07-02 四川宏大安全技术服务有限公司 Buried pipeline settlement monitoring method and system based on Beidou coordinates

Also Published As

Publication number Publication date
CN111783986B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN111783986A (en) Network training method and device, attitude prediction method and device
CN110503689B (en) Pose prediction method, model training method and model training device
US11748913B2 (en) Modeling objects from monocular camera outputs
WO2021035812A1 (en) Image processing method and apparatus, electronic device and storage medium
KR20210111833A (en) Method and apparatus for acquiring positions of a target, computer device and storage medium
CN111462238B (en) Attitude estimation optimization method and device and storage medium
CN111062981A (en) Image processing method, device and storage medium
WO2022193507A1 (en) Image processing method and apparatus, device, storage medium, program, and program product
CN111401230B (en) Gesture estimation method and device, electronic equipment and storage medium
CN114445562A (en) Three-dimensional reconstruction method and device, electronic device and storage medium
WO2022193456A1 (en) Target tracking method, apparatus, electronic device, and storage medium
CN106875446B (en) Camera repositioning method and device
CN114581525A (en) Attitude determination method and device, electronic device and storage medium
CN114255221A (en) Image processing, defect detection method and device, electronic device and storage medium
WO2018170510A1 (en) Mirror loss neural networks
CN114066856A (en) Model training method and device, electronic equipment and storage medium
CN113902730A (en) Image processing and neural network training method and device
CN112508959A (en) Video object segmentation method and device, electronic equipment and storage medium
CN111784773A (en) Image processing method and device, neural network training method and device
CN111882558A (en) Image processing method and device, electronic equipment and storage medium
US11769263B2 (en) Three-dimensional scan registration with deformable models
CN114519794A (en) Feature point matching method and device, electronic equipment and storage medium
CN111784772A (en) Method and device for training pose estimation model based on domain randomization
CN114638949A (en) Virtual object display method and device, electronic equipment and storage medium
CN111753596A (en) Neural network training method and device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant