Model training method and device, image processing method and device, electronic equipment and medium
A model training and image technology, applied in the fields of model training methods, electronic equipment and media, devices, and image processing methods, can solve problems such as time-consuming training process and slow model training speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] figure 1 It is a schematic flowchart of a model training method provided in Embodiment 1 of the present disclosure. The embodiments of the present disclosure are applicable to the situation of training a model for image conversion, for example, it is suitable for the situation of training a model for face image conversion. The method can be executed by a model training device, which can be implemented in the form of software and / or hardware, and the device can be configured in electronic equipment, such as a computer.
[0046] like figure 1 As shown, the model training method provided in this embodiment includes:
[0047] S110. Train a conversion model according to the first image of the source type and the second image of the target type, so as to convert the first image into a third image of the target type based on the trained conversion model.
[0048] The model trained based on the model training method of the embodiment of the present disclosure can be used to ...
Embodiment 2
[0076] The embodiments of the present disclosure may be combined with various optional solutions in the model training methods provided in the foregoing embodiments. The model training method provided in this embodiment describes the training steps of the conversion model in detail. First, by training the generative model based on the first image, the generative model can generate images of the source type; secondly, by using the generative model as a priori, and training the encoder based on the first image, the encoder can extract image features; again , by connecting the encoder to the conversion model, using the parameters of the trained generation model to configure the initial parameters of the conversion model, and training the conversion model based on the first image and the second image, the conversion model can be realized from the source type to the target type image conversion.
[0077]By training the encoder based on the generative model, the encoder can extract...
Embodiment 3
[0111] Figure 7 It is a schematic flowchart of an image processing method provided in Embodiment 3 of the present disclosure. The embodiments of the present disclosure are applicable to the situation of performing face conversion on a human face image, for example, applicable to situations such as age conversion and gender conversion. The method can be executed by an image processing device, which can be implemented in the form of software and / or hardware, which can be integrated into application software, and can be installed in electronic equipment along with the application software, such as installed in servers, mobile phones, computers and other electronic equipment.
[0112] like Figure 7 As shown, the image processing method provided in this embodiment includes:
[0113] S710. Input the to-be-converted image of the source type into the special effect model.
[0114] S720. Output the target image of the target type through the special effect model.
[0115] Wherei...
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