[go: up one dir, main page]

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 PDF

Info

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
Application number
CN202111573065.1A
Other languages
Chinese (zh)
Other versions
CN114241244B (en
Inventor
董辰
陈德程
时梦然
陈鲁蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202111573065.1A priority Critical patent/CN114241244B/en
Publication of CN114241244A publication Critical patent/CN114241244A/en
Application granted granted Critical
Publication of CN114241244B publication Critical patent/CN114241244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/217Validation; Performance evaluation; Active pattern learning techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/217Validation; Performance evaluation; Active pattern learning techniques
    • G06F18/2178Validation; Performance evaluation; Active pattern learning techniques based on feedback of a supervisor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations 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

System and method for scheduling generation countermeasure network model based on hand-drawn image generation image
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)

1.一种基于手绘图生成图像的生成对抗网络模型调度的系统,其特征在于,包括:1. a system based on hand-drawn generation image generation adversarial network model scheduling, is characterized in that, comprises: 特征提取模块,用于提取手绘图特征得到手绘图可能对应的图像分类;The feature extraction module is used to extract the hand drawing features to obtain the possible image classification corresponding to the hand drawing; 模型选择模块,用于结合终端设备运行参数和草图可能对应的图像分类,自动选择相应的模型;The model selection module is used to automatically select the corresponding model in combination with the operating parameters of the terminal equipment and the image classification that the sketch may correspond to; 模型管理模块,用于管理模型空间和调度模型;Model management module for managing model space and scheduling models; 生成测试模块,用于快速测试生成模型效果并及时反馈;Generate a test module to quickly test the effect of the generated model and provide timely feedback; 模型判决模块,用于接收用户最终模型判决指令,确定最终目标模型。The model judgment module is used to receive the user's final model judgment instruction and determine the final target model. 2.根据权利要求1所述的系统,其特征在于,还包括:2. The system of claim 1, further comprising: 图像生成模块,用于快速渲染最终得到的生成模型,向用户终端实时提供基于手绘图生成图像的服务,并负责缓存生成模型。The image generation module is used to quickly render the final generated model, provide the user terminal with the service of generating images based on hand-drawn drawings in real time, and is responsible for caching the generated model. 3.一种基于手绘图生成图像的对抗生成网络模型调度的方法,其特征在于,包括:3. A method for scheduling a confrontational generative network model based on a hand-drawn generation image, characterized in that, comprising: 对手绘图进行特征提取,得出可能的前N种绘画的目标图像分类;Perform feature extraction on hand drawings to obtain the possible target image classification of the top N paintings; 适配用户终端设备的运行情况,结合前N种可能的目标图像分类,综合地选择合适大小、合适类型、生成分类匹配的生成模型;Adapt to the operation of the user terminal equipment, combine the first N possible target image classifications, comprehensively select the appropriate size, appropriate type, and generate a classification matching generation model; 在服务器端对前N种可能的分类对应的生成模型进行测试并将结果返回用户端交由用户端进行模型判决;Test the generated models corresponding to the top N possible classifications on the server side, and return the results to the client side for model judgment on the client side; 用户判决或者自动判决将可能性突出的分类判断为目标分类;User judgment or automatic judgment judges the classification with outstanding possibility as the target classification; 由目标分类结合用户终端设备的运行情况确定出目标生成模型。The target generation model is determined by the target classification combined with the operation of the user terminal equipment. 4.根据权利要求3所述的方法,其特征在于,还包括:4. The method of claim 3, further comprising: 编号化和统一化模型空间里所有生成模型,使其能够快速地被指定的生成测试模块和图像生成模块渲染。Numbering and unifying all generative models in the model space so that they can be quickly rendered by the specified generative test module and image generation module. 5.根据权利要求3所述的方法,其特征在于,还包括:5. The method of claim 3, further comprising: 把目标生成模型传输到用户端进行渲染,实时提供基于手绘图生成图像的服务;The target generation model is transmitted to the client for rendering, and the service of generating images based on hand-drawn drawings is provided in real time; 缓存用户的生成模型,避免重复使用模型时浪费不必要的时间等资源开销。Cache the user's generated model to avoid wasting unnecessary time and other resource overhead when reusing the model.
CN202111573065.1A 2021-12-21 2021-12-21 System and method for scheduling generation countermeasure network model based on hand drawing generated image Active CN114241244B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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