Special effect model training method and device and special effect generating method and device

A training method and special effect technology, applied in the field of image processing, can solve the problems of unsatisfactory GAN special effects and other problems

Pending Publication Date: 2021-10-01
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disclosure provides a special effect model training method and device, special effect generation method and device, to at least solve the problem of unsatisfactory effects of GAN special effects on attributes such as color and texture in the related art

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
  • Special effect model training method and device and special effect generating method and device
  • Special effect model training method and device and special effect generating method and device
  • Special effect model training method and device and special effect generating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0047] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following examples do not represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspect...

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 invention relates to a special effect model training method and device and a special effect generation method and device. The special effect model training method comprises the steps that a training sample set is acquired, wherein the training sample set comprises a plurality of training images; the training images and a first mask graph are input into a special effect model to obtain an output image and a second mask graph after a special effect is added to a preset object in the training images, wherein the first mask graph is the mask graph of the preset object in the training images, and the second mask graph is the mask graph of the preset object after the special effect is added to the output image; the value of a target loss function is determined based on the training images, the output image, the first mask graph and the second mask graph; and the parameters of the special effect model are adjusted based on the value of the target loss function, and the special effect model is trained. According to the invention, the problem that the GAN special effect is not ideal in color, texture and other attributes in the prior art can be solved.

Description

technical field [0001] The present disclosure relates to the field of image processing, and in particular to a method and device for training a special effect model, and a method and device for generating a special effect. Background technique [0002] At present, in common short video applications or camera applications, Generative Adversarial Networks (GAN for short) special effects have become more and more common, such as special effects such as getting old, changing children, comic faces, hand-painting, etc. Or the change of style (such as face attribute or style) is very natural and real, so it is very popular among users. [0003] In related technologies, generally based on image domain (domain) migration schemes, such as cyclegan, stargan and other schemes, the properties of the object to be processed are manipulated to achieve changes in attributes. However, the effect of this scheme on attributes such as color and texture not ideal. Take the hair growth effect as...

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): G06T7/90G06T7/10G06N3/04G06N3/08
CPCG06T7/90G06T7/10G06N3/08G06T2207/10024G06T2207/30196G06T2207/20081G06T2207/20084G06N3/045
Inventor 赵松涛宋丛礼
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products