Method for training face swap model, computer device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsKeke He, Junwei Zhu, Ying Tai, Chengjie Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsKeke He, Junwei Zhu, Ying Tai, Chengjie Wang
Estimating the term…
A method for training a face swap model includes concatenating an expression feature of a template image and an identity feature of a source face image to obtain a combined feature; performing encoding based on the source face image and the template image to obtain an encoding feature required for face swap; fusing the encoding feature and the combined feature to obtain a fused feature; performing decoding based on the fused feature to obtain a swapped face image; respectively predicting image attribute discrimination results of the swapped face image and a reference image by using a discriminator network of the face swap model; and calculating a difference between an expression feature of the swapped face image and the template image, calculating a difference between an identity feature of the swapped face image and the source face image, and updating the generator network and the discriminator network.
A method for training a face swap model, performed by a computer device, the method comprising:
A computer device, comprising:
A non-transitory computer-readable storage medium, storing a computer-executable instruction that, when being executed, causes one or more processors to perform:
Dependencies are inferred from the claim text.