CN114241244A - Generative Adversarial Network Model Scheduling System and Method Based on Hand Drawing to Generate Images - Google Patents
Generative Adversarial Network Model Scheduling System and Method Based on Hand Drawing to Generate Images Download PDFInfo
- Publication number
- CN114241244A CN114241244A CN202111573065.1A CN202111573065A CN114241244A CN 114241244 A CN114241244 A CN 114241244A CN 202111573065 A CN202111573065 A CN 202111573065A CN 114241244 A CN114241244 A CN 114241244A
- Authority
- CN
- China
- Prior art keywords
- model
- hand
- image
- module
- generation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 25
- 230000000694 effects Effects 0.000 claims abstract description 8
- 238000000605 extraction Methods 0.000 claims abstract description 7
- 238000009877 rendering Methods 0.000 claims description 5
- 238000010422 painting Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000003042 antagnostic effect Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/217—Validation; Performance evaluation; Active pattern learning techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/217—Validation; Performance evaluation; Active pattern learning techniques
- G06F18/2178—Validation; Performance evaluation; Active pattern learning techniques based on feedback of a supervisor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to a system and a method for generating confrontation network model scheduling based on hand-drawn image generation image, wherein the system comprises: the characteristic extraction module is used for extracting the characteristics of the hand-drawing graph to obtain image classification possibly corresponding to the hand-drawing graph; the model selection module is used for automatically selecting a corresponding model by combining the operation parameters of the terminal equipment and the image classification possibly corresponding to the hand-drawn picture; the model management module is used for managing a model space and a scheduling model; the generating and testing module is used for quickly testing the effect of the generated model and feeding back the effect in time; and the model judgment module is used for receiving a final model judgment instruction of a user and determining a final target model. The method and the device have the advantages that the image classification possibly corresponding to the hand drawing is obtained by dynamically extracting the hand drawing characteristics, the corresponding model is automatically selected for quick test and timely feedback, the target generation model is obtained by user judgment or automatic judgment and is scheduled and rendered, the generation of the corresponding image based on any kind of hand drawing is realized, and the purpose of drawing is realized.
Description
Technical Field
The invention belongs to the field of artificial intelligence, and particularly relates to a system and a method for generating confrontation network model scheduling based on a hand-drawn image generation image.
Background
Generation of a countermeasure network (GAN) is a deep learning model, and is one of the most promising methods for unsupervised learning in complex distribution in recent years. The model passes through (at least) two modules in the framework: the mutual game learning of the Generative Model (Generative Model) and the Discriminative Model (Discriminative Model) yields a reasonably good output. Image generation may be performed using a generative model therein. Generating an image based on a hand-drawn diagram is an application of generating an antagonistic network, and mainly relates to guiding the generation of an image of a generative model by using the hand-drawn diagram so that the generated image is matched with the hand-drawn diagram, namely the generated image is the image represented by the hand-drawn diagram.
At present, an algorithm model for generating an image based on a sketch can perform well when generating an image of a single classification, but when the classification is increased, the generation effect of the model is worse due to the increase of a loss function, and even the task of generating a corresponding image based on the sketch cannot be completed. Sketch-based drawings are diverse, and a single generation countermeasure network cannot simultaneously satisfy so many kinds of sketch-based image generation requirements.
Disclosure of Invention
In view of the above technical problems, the present invention provides a system and method for generating a model schedule of a countermeasure network based on a freehand drawing generated image. The method comprises the steps of obtaining image classification possibly corresponding to a sketch by dynamically extracting sketch features, automatically selecting a corresponding model for rapid test and timely feedback, obtaining a target generation model through user judgment or automatic judgment, scheduling and rendering, generating a corresponding image based on any kind of hand drawing, and achieving what is desired. And then, the system and the method of the invention dispatch the required generating model from the model space to realize that any kind of images can be generated based on the hand-drawn graph.
The technical scheme for solving the technical problems is as follows:
a system for generating a confrontational network model schedule based on a freehand sketch generated image, comprising:
the characteristic extraction module is used for extracting the characteristics of the hand-drawing graph to obtain image classification possibly corresponding to the hand-drawing graph;
the model selection module is used for automatically selecting a corresponding model by combining the operation parameters of the terminal equipment and the image classification possibly corresponding to the sketch;
the model management module is used for managing a model space and a scheduling model;
the generating and testing module is used for quickly testing the effect of the generated model and feeding back the effect in time;
and the model judgment module is used for receiving a final model judgment instruction of a user and determining a final target model.
Further, the system further comprises:
and the image generation module is used for rapidly rendering the finally obtained generation model, providing a service for generating an image based on the hand-drawn image to the user terminal in real time, and is responsible for caching the generation model.
The invention also provides a method for generating a confrontation network model scheduling based on the sketch generated image, which comprises the following steps:
carrying out feature extraction on the hand drawings to obtain possible target image classifications of the first N kinds of drawings;
adapting the operation condition of user terminal equipment, and comprehensively selecting a generation model with proper size and type and generating classification matching by combining the former N possible target image classifications;
testing the generated models corresponding to the previous N possible classifications at the server side and returning the results to the user side to be delivered to the user side for model judgment;
judging the classification with outstanding possibility as a target classification by a user or automatically;
and determining a target generation model by combining the target classification with the operation condition of the user terminal equipment.
Further, the method further comprises:
transmitting the target generation model to a user side for rendering, and providing a service for generating an image based on a hand-drawing in real time;
the generated model of the user is cached, and unnecessary resource expenses such as time waste and the like when the model is repeatedly used are avoided.
The invention has the beneficial effects that: when the hand-drawn picture is input into the system, the image classification which can be corresponding to the hand-drawn picture can be obtained by extracting the characteristics of the hand-drawn picture, the corresponding model is automatically selected to be quickly tested and fed back in time according to the running condition of the equipment, and the target generation model number is obtained by user judgment or automatic judgment, so that the generation model which is compatible with the user terminal running equipment, has excellent performance and is matched with the generation classification is obtained, the service quality of the generated image based on the sketch is ensured, the limitation of the generated image classification is broken, and the purpose of drawing can be realized on the premise that the model space is abundant enough.
Drawings
Fig. 1 is a block diagram of a system for generating a confrontation network model based on a freehand drawing generated image according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an operating principle of a generation countermeasure network model scheduling system for generating an image based on a freehand drawing according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for scheduling a generation countermeasure network model based on a freehand drawing generated image according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a system for generating a confrontation network model scheduling based on a hand-drawn image generated image, which is suitable for a confrontation network model generating system based on the hand-drawn image generated image and provided with a plurality of generation models of various classifications, and as shown in figure 1, the system comprises:
the hand-drawing feature extraction module is used for extracting the hand-drawing features to obtain image classification possibly corresponding to the hand-drawing;
the model selection module is used for automatically selecting a corresponding model by combining the operation parameters of the terminal equipment and the image classification possibly corresponding to the hand-drawn picture;
the model management module is used for managing a model space and a scheduling model;
the generating and testing module is used for quickly testing the effect of the generated model and feeding back the effect in time;
and the model judgment module is used for receiving a final model judgment instruction of a user and determining a final target model.
Specifically, the feature extraction module is located at the user side, and extracts features of the hand drawing by using the convolutional neural network to obtain the possibility of classification that the hand drawing may correspond to, selects the top 10 classes according to the possibility, and delivers the class codes to the model selection module.
The model selection module is positioned at a user side, monitors the operation condition of user terminal equipment in real time, makes a generation model selection decision which is corresponding to classification, proper in size and excellent in performance by combining the operation parameters of the equipment and 10 classification codes from the model selection module or the unique classification codes from the model judgment module, and sends the number result of the selected model to the model management module.
And the model management module is positioned at the server end and is responsible for managing a model space and a scheduling model, wherein the model space is a set of all generation models related to the system, the model space comprises a plurality of classified models, each classification has models with 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, directly calls the corresponding generated model from the model space, directly transmits the model to the image generation module at the user end if the received model number is unique, and loads the corresponding generated model to the generation test module if the received model number is not unique.
And the generation testing module is positioned at the server end and is responsible for rapidly testing the generation model to obtain a generated testing result image, and the generated testing result image is returned to the model judgment module positioned at the user end.
And the model judgment module is positioned at the user side, receives the generated test result image from the generation test module, presents the generated test result image to the user and judges the model. The model decision comprises two execution mechanisms, namely, a user selects and generates a test result image, so as to confirm the classification of a target and deliver a corresponding unique classification code to a model selection module; second, when the probability of a certain classification is far higher than that of other classifications, the model decision module will automatically decide the classification as the target classification and deliver the corresponding unique classification code to the model selection module.
The generation countermeasure network model scheduling system based on the hand-drawn image generated image provided by the embodiment of the invention can obtain the classification of the images possibly corresponding to the sketch by dynamically extracting the characteristics of the sketch, automatically select the corresponding model for quick test and timely feedback, obtain the target generation model by user judgment or automatic judgment, and realize the automatic scheduling of the corresponding generation model according to the hand-drawn image to perform the service based on the sketch generated image.
Optionally, in this embodiment, as shown in fig. 1, the system further includes:
and the image generation module is positioned at the user side and used for quickly rendering the finally obtained generation model, providing a service for generating the image based on the hand-drawing in real time for the user terminal and is responsible for caching the generation model, wherein the quantity of the caching model is determined according to the running condition of user terminal equipment.
The embodiment of the invention also provides a method for generating a confrontation network model scheduling based on the hand-drawn image generated image, as shown in fig. 3, the method comprises the following steps:
s1, acquiring the hand drawing drawn by the user in real time;
s2, extracting features of the hand drawing by using a convolutional neural network to obtain the top 10 possible classification codes;
s3, selecting 10 corresponding models by combining the operation parameters and the classification codes of the terminal equipment to obtain model numbers;
s4, calling 10 corresponding generation models to test at the server side according to the model numbers;
s5, returning the generated test result image to a user side to be submitted to a user for model judgment or automatically judging the target classification with outstanding possibility;
and S6, determining a unique object generation model by using the unique object classification code.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111573065.1A CN114241244B (en) | 2021-12-21 | 2021-12-21 | System and method for scheduling generation countermeasure network model based on hand drawing generated image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111573065.1A CN114241244B (en) | 2021-12-21 | 2021-12-21 | System and method for scheduling generation countermeasure network model based on hand drawing generated image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114241244A true CN114241244A (en) | 2022-03-25 |
CN114241244B CN114241244B (en) | 2024-09-24 |
Family
ID=80760593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111573065.1A Active CN114241244B (en) | 2021-12-21 | 2021-12-21 | System and method for scheduling generation countermeasure network model based on hand drawing generated image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114241244B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112085078A (en) * | 2020-08-31 | 2020-12-15 | 深圳思谋信息科技有限公司 | Image classification model generation system, method and device and computer equipment |
WO2021043193A1 (en) * | 2019-09-04 | 2021-03-11 | 华为技术有限公司 | Neural network structure search method and image processing method and device |
CN112950458A (en) * | 2021-03-19 | 2021-06-11 | 润联软件系统(深圳)有限公司 | Image seal removing method and device based on countermeasure generation network and related equipment |
CN113065843A (en) * | 2021-03-15 | 2021-07-02 | 腾讯科技(深圳)有限公司 | Model processing method and device, electronic equipment and storage medium |
-
2021
- 2021-12-21 CN CN202111573065.1A patent/CN114241244B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021043193A1 (en) * | 2019-09-04 | 2021-03-11 | 华为技术有限公司 | Neural network structure search method and image processing method and device |
CN112085078A (en) * | 2020-08-31 | 2020-12-15 | 深圳思谋信息科技有限公司 | Image classification model generation system, method and device and computer equipment |
CN113065843A (en) * | 2021-03-15 | 2021-07-02 | 腾讯科技(深圳)有限公司 | Model processing method and device, electronic equipment and storage medium |
CN112950458A (en) * | 2021-03-19 | 2021-06-11 | 润联软件系统(深圳)有限公司 | Image seal removing method and device based on countermeasure generation network and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114241244B (en) | 2024-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW202119255A (en) | Inference system, inference method, electronic device and computer storage medium | |
CN109299344A (en) | Generation method of ranking model, and ranking method, device and equipment of search results | |
CN107948698A (en) | Sound control method, system and the smart television of smart television | |
CN102300011B (en) | Automated mechanism for populating and maintaining data structures in queueless contact center | |
CN111444341B (en) | User portrait construction method, device, equipment and readable storage medium | |
CN111611351A (en) | Control method and device for online customer service session and electronic equipment | |
CN108762907A (en) | Task processing method based on multiple client and system | |
US20210344937A1 (en) | Method and device for transcoding video | |
CN105989345A (en) | Method and device for discovering friends by image matching | |
WO2025016255A1 (en) | Task processing method and automatic question answering method | |
CN117675823A (en) | Task processing method and device of computing power network, electronic equipment and storage medium | |
CN111970400A (en) | Crank call identification method and device | |
CN114241244A (en) | Generative Adversarial Network Model Scheduling System and Method Based on Hand Drawing to Generate Images | |
CN108600564A (en) | The method and apparatus of customer service | |
CN111813529A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111061807A (en) | Distributed data acquisition and analysis system and method, server and medium | |
CN112019870A (en) | Message classification processing method and device and electronic equipment | |
US20200286012A1 (en) | Model application method, management method, system and server | |
CN112785418B (en) | Credit risk modeling method, apparatus, device and computer readable storage medium | |
CN112732962B (en) | Online real-time garbage picture category prediction method based on deep learning and Flink | |
CN112270296A (en) | Cloud platform based smart city visual management system and method | |
CN116992158B (en) | Recommendation method and device for resource allocation, storage medium and electronic device | |
CN113709314B (en) | Intelligent seat outbound method and device, electronic equipment and computer storage medium | |
CN113066038B (en) | Image evaluation method, device, electronic equipment and computer storage medium | |
CN113794601B (en) | Network traffic processing method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |