Generative adversarial network model scheduling system and method based on hand-drawn image generation

By dynamically extracting sketch features and automatically selecting the generation model, the problem of poor performance of the generative adversarial network model in generating various sketches is solved, and high-quality services for generating any kind of images from hand drawings are realized, improving the flexibility and compatibility of the model. .

CN114241244BActive Publication Date: 2024-09-24BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111573065.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-09-24
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

Existing generative adversarial network models based on sketches to generate images will have worse generation effects when the number of image classifications increases. They cannot meet multiple sketch generation requirements at the same time, and are difficult to achieve the task of generating corresponding images for any kind of hand-drawn drawings.

Method used

By dynamically extracting sketch features, automatically selecting the appropriate generation model, quickly testing and providing feedback, combined with user judgment or automatic judgment to determine the target model, implement model scheduling, ensure generation quality and compatibility, and provide services for generating any type of image based on hand-drawn drawings.

Benefits of technology

It realizes the automatic selection of appropriate models based on hand drawings, generates high-quality images, breaks the limitations of image classification, and improves the flexibility and service quality of generative adversarial network models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114241244B
    Figure CN114241244B
Patent Text Reader

Abstract

The present invention relates to a system and method for scheduling a generative adversarial network model based on hand-drawn image generation. The system includes: a feature extraction module for extracting hand-drawn features to obtain image classifications that may correspond to the hand-drawn image; a model selection module for automatically selecting corresponding models in combination with terminal device operating parameters and image classifications that may correspond to the hand-drawn image; a model management module for managing model space and scheduling models; a generation test module for quickly testing the generation model effect and providing timely feedback; and a model judgment module for receiving the user's final model judgment instruction and determining the final target model. The present invention dynamically extracts hand-drawn features to obtain image classifications that may correspond to the hand-drawn image, automatically selects corresponding models for quick testing and timely feedback, obtains target generation models by user judgment or automatic judgment, and schedules rendering, thereby generating corresponding images based on any type of hand-drawn image, and achieving what you draw is what you think.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of artificial intelligence, and in particular relates to a system and method for scheduling a generative adversarial network model based on hand-drawn image generation. Background Art

[0002] Generative Adversarial Networks (GAN) is a deep learning model and one of the most promising methods for unsupervised learning on complex distributions in recent years. The model produces fairly good output through the mutual game learning of (at least) two modules in the framework: the generative model and the discriminative model. The generative model can be used for image generation. Generating images based on hand drawings is an application of generative adversarial networks, which mainly involves using hand drawings to guide the image generation of the generative model, so that the generated image matches the hand drawing, that is, the generated image is the image represented by the hand drawing.

[0003] Currently, the algorithm model for generating images from sketches can perform well when generating images of a single category, but when the number of categories increases, the generation effect of the model will be worse due to the increase in the loss function, and it may even fail to complete the task of generating corresponding images from sketches. Sketch-based paintings are diverse, and a single generative adversarial network cannot meet the requirements of generating images from sketches of such a wide variety at the same time. Summary of the invention

[0004] In view of the above technical problems, the present invention provides a system and method for model scheduling of a generative adversarial network based on hand-drawn images. By dynamically extracting sketch features to obtain possible image classifications corresponding to the sketch, automatically selecting corresponding models for rapid testing and timely feedback, the target generation model is determined by the user or automatically determined and scheduled for rendering, so as to achieve the generation of corresponding images based on any type of hand-drawn pictures, and realize what you draw is what you think. Each generation model is made to correspond to a classification of images generated based on hand-drawn pictures to ensure the generation quality, and then the required generation model is scheduled from the model space through the system and method of the present invention, so as to achieve the generation of any type of images based on hand-drawn pictures.

[0005] The technical solution of the present invention to solve the above technical problems is as follows:

[0006] A system for scheduling a generative adversarial network model based on hand-drawn image generation, comprising:

[0007] A feature extraction module is used to extract the features of the hand-drawn picture to obtain the image classification that the hand-drawn picture may correspond to;

[0008] A model selection module is used to automatically select a corresponding model by combining the terminal device operating parameters and the image classification that the sketch may correspond to;

[0009] Model management module, used to manage model space and schedule models;

[0010] Generate a test module to quickly test the effect of the generated model and provide timely feedback;

[0011] The model decision module is used to receive the user's final model decision instruction and determine the final target model.

[0012] Furthermore, the system further comprises:

[0013] The image generation module is used to quickly render the final generated model, provide real-time image generation services based on hand-drawn pictures to user terminals, and is responsible for caching the generated model.

[0014] The present invention also provides a method for scheduling a generative adversarial network model based on sketch-based image generation, comprising:

[0015] Perform feature extraction on hand drawings to obtain the target image classification of the top N possible paintings;

[0016] Adapting to the operation of the user terminal device, combined with the first N possible target image classifications, comprehensively selects a generation model with the appropriate size, type, and classification matching;

[0017] The server tests the generated models corresponding to the first N possible classifications and returns the results to the user side for model judgment;

[0018] The user decides or the category with prominent possibility is automatically determined as the target category;

[0019] The target generation model is determined by target classification combined with the operation status of the user terminal device.

[0020] Furthermore, the method further comprises:

[0021] The target generation model is transmitted to the user end for rendering, providing real-time image generation services based on hand-drawn images;

[0022] Cache the user's generated model to avoid wasting unnecessary time and other resource overhead when reusing the model.

[0023] The beneficial effects of the present invention are as follows: when a hand-drawn picture is input into the system, the image classification that may correspond to the hand-drawn picture can be obtained by extracting the features of the hand-drawn picture, and the corresponding model can be automatically selected for rapid testing and timely feedback in combination with the operation status of the equipment. The target generation model number is obtained by user judgment or automatic judgment, thereby obtaining a generation model that is compatible with the user terminal operation equipment, has excellent performance, and generates classification matching. While ensuring the service quality of image generation based on sketches, it breaks the limitation of the generated image classification, and under the premise that the model space is rich enough, what is drawn is what is imagined, which can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A structural block diagram of a generative adversarial network model scheduling system for generating images based on hand-drawn drawings provided by an embodiment of the present invention;

[0025] Figure 2 A schematic diagram of the working principle of a generative adversarial network model scheduling system for generating images based on hand-drawn drawings provided by an embodiment of the present invention;

[0026] Figure 3 A flowchart of a method for scheduling a generative adversarial network model based on hand-drawn images provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0028] The embodiment of the present invention provides a system for scheduling a generative adversarial network model based on hand-drawings to generate images, which is applicable to a generative adversarial network model system based on hand-drawings to generate images with multiple and multi-classified generative models, such as Figure 1 As shown, the system includes:

[0029] A hand-drawing feature extraction module is used to extract hand-drawing features to obtain image classifications that may correspond to the hand-drawing;

[0030] A model selection module is used to automatically select a corresponding model by combining the terminal equipment operation parameters and the image classification that the hand-drawn picture may correspond to;

[0031] Model management module, used to manage model space and schedule models;

[0032] Generate a test module to quickly test the effect of the generated model and provide timely feedback;

[0033] The model decision module is used to receive the user's final model decision instruction and determine the final target model.

[0034] Specifically, the feature extraction module is located at the user end and uses a convolutional neural network to extract the features of the hand-drawn picture to obtain the possibility of the classification that the hand-drawn picture may correspond to. The top 10 classifications are selected based on the possibility and their classification codes are delivered to the model selection module.

[0035] The model selection module is located at the user end and monitors the operation status of the user terminal equipment in real time. It combines the equipment operation parameters and the 10 classification codes from the model selection module or the unique classification code from the model judgment module to make a generation model selection decision with corresponding classification, appropriate size and excellent performance, and sends the selected model number result to the model management module.

[0036] The model management module is located on the server side and is responsible for managing the model space and scheduling models. The model space refers to the collection of all generated models involved in this system, including models of multiple categories. Each category has models of different sizes and different network structures, and each model has a unique model number. The model management module receives the model number from the model selection module and directly calls the corresponding generated model from the model space. If the received model number is unique, the model is directly transmitted and delivered to the image generation module on the user side. If the received model number is not unique, the corresponding generated model is loaded into the generation test module.

[0037] The generation test module, located on the server side, is responsible for quickly testing the generation model, obtaining the generation test result image, and returning it to the model judgment module on the user side.

[0038] The model judgment module is located at the user end, receives the generated test result image from the generated test module, presents it to the user, and makes a model judgment. The model judgment includes two execution mechanisms. First, the user selects the generated test result image, thereby confirming the target classification and delivering the corresponding unique classification code to the model selection module; second, when the possibility of a certain classification is much greater than the possibility of other classifications, the model judgment module will automatically judge this classification as the target classification and deliver the corresponding unique classification code to the model selection module.

[0039] An embodiment of the present invention provides a generative adversarial network model scheduling system for generating images based on hand-drawn drawings. The system dynamically extracts sketch features to obtain image classifications that may correspond to the sketch, automatically selects corresponding models for rapid testing and provides timely feedback, and obtains a target generation model by user judgment or automatic judgment. The system can automatically schedule corresponding generation models according to hand-drawn drawings to generate images based on sketches.

[0040] Optionally, in this embodiment, if Figure 1 As shown, the system also includes:

[0041] The image generation module is located at the user end and is used to quickly render the final generated model, provide real-time image generation services based on hand-drawn drawings to the user terminal, and is responsible for caching the generated model. The number of cached models depends on the operating conditions of the user terminal device.

[0042] The embodiment of the present invention also provides a method for scheduling a generative adversarial network model based on hand-drawn image generation. Figure 3 As shown, the method includes:

[0043] S1. Obtain the hand-drawn picture drawn by the user in real time;

[0044] S2, use convolutional neural network to extract features from hand drawing and get the top 10 possible classification codes;

[0045] S3. Combine the terminal equipment operation parameters and classification codes to select the corresponding 10 models and obtain the model numbers;

[0046] S4. According to the model number, the corresponding 10 generated models are retrieved and tested on the server side;

[0047] S5, returning the generated test result image to the user end for the user to make a model judgment, or automatically judging the target classification with prominent possibility;

[0048] S6. Use the unique target classification code to determine the unique target generation model.

Claims

1. A system for scheduling generative adversarial network models based on hand-drawn image generation, It is characterized in that include: A feature extraction module is used to extract the features of the hand-drawn picture to obtain the image classification that the hand-drawn picture may correspond to; A model selection module is used to automatically select a corresponding model by combining the terminal device operating parameters and the image classification that the sketch may correspond to; Model management module, used to manage model space and schedule models; Generate a test module to quickly test the effect of the generated model and provide timely feedback; The model decision module is used to receive the user's final model decision instruction and determine the final target model.

2. The system according to claim 1, It is characterized in that Also includes: The image generation module is used to quickly render the final generated model, provide real-time image generation services based on hand-drawn pictures to user terminals, and is responsible for caching the generated model.

3. A method for scheduling adversarial generative network models based on hand-drawn image generation, It is characterized in that include: Perform feature extraction on hand drawings to obtain the target image classification of the top N possible paintings; Adapting to the operation of the user terminal device, combined with the first N possible target image classifications, comprehensively selects a generation model with the appropriate size, type, and classification matching; The server tests the generated models corresponding to the first N possible classifications and returns the results to the user side for model judgment; The user or automatic judgment determines the classification with prominent possibility as the target classification; The target generation model is determined by target classification combined with the operation status of the user terminal device.

4. The method according to claim 3, It is characterized in that Also includes: All generated models in the model space are numbered and unified so that they can be quickly rendered by the specified generation test module and image generation module.

5. The method according to claim 3, It is characterized in that Also includes: The target generation model is transmitted to the user end for rendering, providing real-time image generation services based on hand-drawn images; Cache the user's generated model to avoid wasting unnecessary time and resource overhead when reusing the model.