METHOD AND APPARATUS FOR TRAINING FACE FUSION MODEL AND ELECTRONIC DEVICE

    公开(公告)号:US20210209423A1

    公开(公告)日:2021-07-08

    申请号:US17210827

    申请日:2021-03-24

    Abstract: Embodiments of the present disclosure provide a method for training a face fusion model and an electronic device. The method includes: performing a first face changing process on a user image and a template image to generate a reference template image; adjusting poses of facial features of the template image based on the reference template image to generate a first input image; performing a second face changing process on the template image to generate a second input image; inputting the first input image and the second input image into a generator of an initial face fusion model to generate a fused face area image; and inputting the fused image and the template image into a discriminator of the initial face fusion model to obtain a result, and performing backpropagation correction on the initial face fusion model based on the result to generate a face fusion model.

Patent Agency Ranking