Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Editing model generation method and device, face image editing method and device, equipment and medium

A face image and model generation technology, applied in the field of artificial intelligence, can solve the problems that the authenticity of the face image and the authenticity of the image editing model cannot be guaranteed, so as to ensure the accuracy of discrimination, improve the consistency of learning, and improve the authenticity Effect

Active Publication Date: 2020-10-09
LYNXI TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the discriminator quickly completes the training process in one step and can accurately judge the authenticity of the face image, the generator cannot pass the judgment of the discriminator no matter how much progress it makes, which makes the training of the generative confrontation network fail, and the generated face cannot be guaranteed. The authenticity of the image, and thus cannot guarantee the authenticity of the editing effect of the image editing model based on the pre-trained generation confrontation network structure for the face image

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Editing model generation method and device, face image editing method and device, equipment and medium
  • Editing model generation method and device, face image editing method and device, equipment and medium
  • Editing model generation method and device, face image editing method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] Figure 1a It is a flowchart of a method for generating an editing model in Embodiment 1 of the present invention. This embodiment is applicable to training a generative confrontation model, and generating an image editing model according to the generator in the trained generative confrontation model. The method can be executed by the editing model generation device provided by the embodiment of the present invention, which can be implemented in the form of software and / or hardware, and can generally be integrated into computer equipment. Such as Figure 1a As shown, the method of this embodiment specifically includes:

[0036] S110, train the generative confrontation model, where the generative confrontation model includes a generator and a discriminator.

[0037] In this embodiment, the generator to be trained and the discriminator to be trained constitute a GAN model. The training operation of the GAN model is actually to train the generator and the discriminator at...

Embodiment 2

[0068] figure 2 It is a flow chart of a method for generating an editing model in Embodiment 2 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments.

[0069] Such as figure 2 As shown, the method of this embodiment specifically includes:

[0070] S210, train the generative confrontation model, where the generative confrontation model includes a generator and a discriminator.

[0071] For non-exhaustive descriptions in the embodiments of the present invention, reference may be made to the foregoing embodiments.

[0072] S220, update the configuration information according to the gradient of the discriminator, and update the generative confrontation model, where the gradient update configuration information is determined by Lipschitz constraints.

[0073] S230, calculate and generate the loss function of the confrontation model according to the loss function configuration information, the loss function configuration information...

Embodiment 3

[0089] Figure 3a It is a flowchart of a method for generating an editing model in Embodiment 3 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments.

[0090] Such as Figure 3a As shown, the method of this embodiment specifically includes:

[0091] S310. Train the generative confrontation model, where the generative confrontation model includes a generator and a discriminator.

[0092] For non-exhaustive descriptions in the embodiments of the present invention, reference may be made to the foregoing embodiments.

[0093] S320. Update the configuration information according to the gradient of the discriminator, and update the generative confrontation model, where the gradient update configuration information is determined by Lipschitz constraints.

[0094] S330, when it is determined that the generative confrontation model satisfies the training end condition, obtain the convolutional neural network in the pre-trained image fea...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an editing model generation method and device, a human face image editing method and device, equipment and a medium. The editing model generation method comprises the steps: training a generative adversarial model comprising a generator and a discriminator; updating the generative adversarial model according to gradient updating configuration information of the discriminator, the gradient updating configuration information being determined through a Lipschitz constraint condition; and when determining that the generative adversarial model meets a training ending condition, generating an image editing model according to a generator in the currently trained generative adversarial model. According to the embodiment of the invention, the training consistency of the generator and the discriminator can be improved, and the authenticity of the generated image is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of artificial intelligence, and in particular to a method, device, equipment and medium for generating an editing model and editing a face image. Background technique [0002] In recent years, people have higher and higher requirements for the authenticity of synthetic images, which requires image processing algorithms to generate more realistic and natural images. In particular, people often edit face images, expecting that the edited face images are still real faces. [0003] At present, Generative Adversarial Network (GAN) can be used to generate real faces. Among them, in the training process of the generative confrontation model, the generator in the generative confrontation network is actually used to generate face images, and the discriminator in the generative confrontation model is used to distinguish the authenticity of the generated face images. [0004] The training of the gener...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/00G06N20/00
CPCG06T11/001G06N20/00
Inventor 高岱恒吴臻志
Owner LYNXI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products