Face image generation method based on gans
A face image and image technology, applied in the computer field, can solve the problems of many parameter update iterations, easy loss of small patch areas or detailed textures, complex optimization goals, etc., to achieve reasonable clarity, avoid gradient disappearance, reduce image effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Please refer to figure 1 , figure 2 and Figure 4 , the embodiment of the present invention provides a kind of face image generation method based on GANs, comprises the following steps:
[0075] S1. Obtain a training set X, which consists of several face images.
[0076] In this embodiment, two methods of obtaining the training set X are given: the first is to cut the center of the CELEBA face data set into fixed-size face images such as: 64×64 96×64, etc.; the second One is to use crawler technology to crawl pictures of people on the public network, and then use face recognition technology to crop out face images, and finally scale the image size to a fixed size such as: 64×64 96×64, etc.
[0077] S2. Extract hidden features of all face images in the training set X to obtain a hidden feature set C of human face images.
[0078] S3, face image decoding training
[0079] S31. Sampling batchsize face images x sequentially without repeated sampling from the training ...
Embodiment 2
[0109] Please refer to image 3 , for step S2 in Embodiment 1, it specifically includes:
[0110] S21. Sampling is not repeated sequentially from the training set X (in the same epoch cycle, when the sequence of training set samples is determined, sequential sampling is non-repetitive sampling) batchsize face images x 1 ,x 2 ,...,x k (k=batchsize), and transform the pixel value scale to [-1,1] according to formula (5), the transformed image is still recorded as x 1 ,x 2 ,...,x k (k=batchsize).
[0111]
[0112] Among them, i is the label of an image in batchsize images, i∈[1, batchsize].
[0113] S22, using the batchsize face images after the pixel value scale transformation in step S21 to train the feature learning network, as follows:
[0114] Construct an initial feature learning network, and convert the batchsize pixel value scale-transformed image x in step S21 1 ,x 2 ,...,x k (k=batchsize) is fed into the feature learning network, and the mean square error l...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com