Seed IP Law Group LLP
Method and apparatus for generating image
A method and an apparatus for generating an image are provided. A specific embodiment of the method comprises: acquiring a to-be-processed facial image, the image resolution of the to-be-processed facial image being lower than a preset first resolution threshold; and inputting the to-be-processed facial image into a pre-trained generativemodel to generate a processed facial image. The generative model updates a model parameter using a loss function in a training process, and the loss function is determined based on a probability of an image group being positive sample data, the image group composed of a facial sample image and a facial generative image. According to this embodiment, authenticity of the generated facial image is enhanced.
Baidu Online Network Technology (Beijing) Co., Ltd.
G G G G G G G G G G
G06N G06N G06N G06T G06T G06N G06T G06T G06N G06T
additional additional inventional inventional inventional inventional inventional additional inventional inventional
Jingtuo Tao Gang
Liu He Zhang