Patent ID: 11900613
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. The apparatus according to claim 12, wherein when training the target segmentation model, the at least one processor is further configured to:
obtain a video frame sample, sample annotation information corresponding to the video frame sample, and standard affine transformation information corresponding to the video frame sample;
input the video frame sample into a target segmentation model for training, and determine predicted affine transformation information corresponding to the video frame sample by using the target segmentation model;
construct an affine loss function according to the predicted affine transformation information and the standard affine transformation information;
output predicted affine transformation difference information corresponding to the video frame sample and a predicted segmentation result corresponding to a target in the video frame sample by using the target segmentation model;
determine standard affine transformation difference information according to a difference between the predicted affine transformation information and the standard affine transformation information;
construct an affine transformation information revision loss function according to the standard affine transformation difference information and the predicted affine transformation difference information;
determine a segmentation loss function according to the predicted segmentation result and the sample annotation information; and
adjust, according to the affine loss function, the affine transformation information revision loss function, and the segmentation loss function, model parameters of the target segmentation model and continue training the model until a training stop condition is met.