CN114820618B - Defect detection model training method, device, equipment and storage medium - Google Patents

Defect detection model training method, device, equipment and storage medium Download PDF

Info

Publication number
CN114820618B
CN114820618B CN202210747380.XA CN202210747380A CN114820618B CN 114820618 B CN114820618 B CN 114820618B CN 202210747380 A CN202210747380 A CN 202210747380A CN 114820618 B CN114820618 B CN 114820618B
Authority
CN
China
Prior art keywords
data
uploaded
deep learning
learning network
transmission request
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.)
Active
Application number
CN202210747380.XA
Other languages
Chinese (zh)
Other versions
CN114820618A (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.)
Xinjian Intelligent Control Shenzhen Technology Co ltd
Original Assignee
Xinjian Intelligent Control Shenzhen Technology Co ltd
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 Xinjian Intelligent Control Shenzhen Technology Co ltd filed Critical Xinjian Intelligent Control Shenzhen Technology Co ltd
Priority to CN202210747380.XA priority Critical patent/CN114820618B/en
Publication of CN114820618A publication Critical patent/CN114820618A/en
Application granted granted Critical
Publication of CN114820618B publication Critical patent/CN114820618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • 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/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to the field of artificial intelligence, and discloses a method, a device, equipment and a storage medium for training a flaw detection model, which are used for improving the detection accuracy of the trained flaw detection model. The training method of the flaw detection model comprises the following steps: determining data to be uploaded according to the data transmission request, and performing data uploading catalog structure verification on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data; carrying out data annotation on the uploaded data and generating a training data set; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting sample pictures into the deep learning network respectively for flaw detection to generate a feature map; and performing parameter optimization on the deep learning network according to the characteristic diagram to generate a flaw detection model.

Description

Defect detection model training method, device, equipment and storage medium
Technical Field
The invention relates to the field of artificial intelligence, in particular to a method, a device, equipment and a storage medium for training a flaw detection model.
Background
With the background of market globalization in recent years, how to provide low-priced and high-quality products for global markets becomes an important goal of each industry. In the industry, due to raw materials, rolling equipment and processes, different types of defects are inevitably generated on produced industrial products, and the appearance of the products is affected by the defects, so that huge economic losses are caused. Therefore, flaw detection has been a great concern in the industry.
The existing scheme is that whether a product picture has flaws is judged through a neural network, and then detection results such as qualified, unqualified and undetermined are given. However, the existing scheme has a messy data set adopted in the training process of the detection model, and the detection accuracy of the flaw detection model is low.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for training a flaw detection model, which are used for improving the detection accuracy of the trained flaw detection model.
The invention provides a training method of a flaw detection model, which comprises the following steps: receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data uploading catalog structure verification on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data; calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection respectively to generate a feature map corresponding to each sample picture; and performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model.
Optionally, in a first implementation manner of the first aspect of the present invention, the receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data upload directory structure verification on the data to be uploaded to obtain a verification result, including: receiving a data transmission request sent by a terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory or not so as to verify a data uploading directory structure; if the data transmission request is carried, inquiring a directory folder carried by the data transmission request, and generating a detection result according to the directory folder; and if not, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism.
Optionally, in a second implementation manner of the first aspect of the present invention, the invoking a preset data tagging tool to perform data tagging on the uploaded data and generate a training data set corresponding to the uploaded data includes: performing data inspection on the uploaded data, and removing error data in the uploaded data to obtain standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; and generating a training data set corresponding to the uploaded data by using the positive sample data and the negative sample data.
Optionally, in a third implementation manner of the first aspect of the present invention, the performing data enhancement processing on the training data set to generate an enhanced data set, where the enhanced data set includes a plurality of sample pictures with flaw labels, and includes: acquiring a plurality of defective pictures and good pictures to automatically expand the training data set to obtain an expanded data set; and performing characteristic adjustment on the extended data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw marks.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the obtaining a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection, and generating a feature map corresponding to each sample picture includes: obtaining a deep learning network to be trained, wherein the deep learning network comprises: an input layer, a multilayer convolution network, a weight layer and an output layer; respectively inputting the plurality of sample pictures with flaw marks into the input layer for processing to obtain an input picture corresponding to each sample picture; respectively inputting the input pictures into the multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture; inputting the prediction graph corresponding to each sample picture into the weight layer to carry out flaw weight processing, and obtaining a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size; and generating a characteristic diagram corresponding to the weight diagram through the output layer to obtain a characteristic diagram corresponding to each sample picture.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the performing parameter tuning on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model includes: calling a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain a parameter-updated deep learning network; acquiring a sample picture, inputting the sample picture into the deep learning network with the updated parameters for network convergence verification, and generating a verification result of the deep learning network with the updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
The second aspect of the present invention provides a training apparatus for a flaw detection model, including: the receiving module is used for receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and verifying a data uploading directory structure of the data to be uploaded to obtain a detection result; the uploading module is used for generating an uploading strategy of the data to be uploaded according to the inspection result and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data; the marking module is used for calling a preset data marking tool to carry out data marking on the uploaded data and generating a training data set corresponding to the uploaded data; the enhancement module is used for carrying out data enhancement processing on the training data set to generate an enhanced data set, and the enhanced data set comprises a plurality of sample pictures with flaw labels; the detection module is used for acquiring a deep learning network to be trained, inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection, and generating a feature map corresponding to each sample picture; and the parameter tuning module is used for performing parameter tuning on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model.
Optionally, in a first implementation manner of the second aspect of the present invention, the receiving module is specifically configured to: receiving a data transmission request sent by a terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory or not so as to verify a data uploading directory structure; if the data transmission request is carried, inquiring a directory folder carried by the data transmission request, and generating a detection result according to the directory folder; and if not, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism.
Optionally, in a second implementation manner of the second aspect of the present invention, the labeling module is specifically configured to: performing data check on the uploaded data, and removing error data in the uploaded data to obtain standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; and generating a training data set corresponding to the uploaded data by using the positive sample data and the negative sample data.
Optionally, in a third implementation manner of the second aspect of the present invention, the enhancing module further includes: the acquisition unit is used for acquiring a plurality of defective pictures and good pictures to automatically expand the training data set to obtain an expanded data set; and the enhancement unit is used for carrying out characteristic adjustment on the expansion data set to generate an enhancement data set, and the enhancement data set comprises a plurality of sample pictures with flaw marks.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the detection module is specifically configured to: obtaining a deep learning network to be trained, wherein the deep learning network comprises: an input layer, a multilayer convolutional network, a weight layer and an output layer; inputting the plurality of sample pictures with the flaw marks into the input layer for processing to obtain an input picture corresponding to each sample picture; respectively inputting the input pictures into the multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture; inputting the prediction graph corresponding to each sample picture into the weight layer to carry out flaw weight processing, and obtaining a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size; and generating a characteristic diagram corresponding to the weight diagram through the output layer to obtain a characteristic diagram corresponding to each sample picture.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the parameter tuning module is specifically configured to: calling a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset loss value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain the deep learning network after parameter updating; acquiring a sample picture, inputting the sample picture into the deep learning network with the updated parameters for network convergence verification, and generating a verification result of the deep learning network with the updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
The third aspect of the present invention provides a training device for a flaw detection model, comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor calls the instructions in the memory to cause the training device of the flaw detection model to execute the above-mentioned training method of the flaw detection model.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-described method of training a flaw detection model.
In the technical scheme provided by the invention, a data transmission request sent by a terminal is received, data to be uploaded is determined according to the data transmission request, and data uploading directory structure verification is carried out on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, uploading the data to be uploaded according to the uploading strategy to obtain uploaded data, wherein the data can be uploaded only after being labeled, and an auditing mechanism is provided for the labeled data, so that the safety of a data set is improved; calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection respectively to generate a feature map corresponding to each sample picture; and performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model. According to the method, the data enhancement processing is performed on the data set in the defect detection model training process, the richness of the training data set is improved through the data enhancement processing, and the detection accuracy of the trained defect detection model is effectively improved through training the defect detection model through the data set after the data enhancement processing.
Drawings
FIG. 1 is a diagram of an embodiment of a method for training a fault detection model according to an embodiment of the invention;
FIG. 2 is a diagram of an embodiment of a training apparatus for a fault detection model according to an embodiment of the invention;
FIG. 3 is a schematic diagram of another embodiment of a training apparatus for a flaw detection model according to an embodiment of the invention;
FIG. 4 is a diagram of an embodiment of a training apparatus for a fault detection model according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for training a flaw detection model, which are used for improving the detection accuracy of the trained flaw detection model. The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Moreover, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For understanding, a specific flow of an embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a method for training a fault detection model according to an embodiment of the present invention includes:
101. receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data uploading catalog structure verification on the data to be uploaded to obtain a detection result;
it is to be understood that the execution subject of the present invention may be a training apparatus of the flaw detection model, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
Optionally, the server receives a data transmission request sent by the terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory to verify a data uploading directory structure; if the data transmission request is carried, inquiring a directory folder carried by the data transmission request, and generating a detection result according to the directory folder; and if the data to be uploaded does not carry the data, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism.
Specifically, the server verifies a data upload directory structure in the data transmission process, specifically verifies whether the data transmission request carries a directory specified for upload, where the directory includes: a primary directory and a root directory. If the data transmission request carries the directory folder, the server inquires the directory folder carried by the data transmission request and generates a detection result according to the directory folder, wherein the detection result is used for indicating that the data transmission request carries the specified directory; if the server does not carry the data, the server generates a test result corresponding to the data to be uploaded based on a preset auditing mechanism, specifically, the server sends the data to be uploaded back to an auditor, and the uploaded data is manually subjected to catalog storage.
102. Generating an uploading strategy of the data to be uploaded according to the inspection result, and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data;
specifically, the server generates an uploading policy of the data to be uploaded according to the inspection result, and uploads the data to be uploaded according to the uploading policy to obtain the uploaded data, and further, the uploading policy specifically includes: if the data to be uploaded does not specify a primary directory (train/test), the data to be uploaded can only be uploaded to the lower part of a/data/unlabeled/folder; if the directory to be uploaded specifies a root directory (/ data /), the directory structure needs to be complied with, and the root directory, the primary directory and the secondary directory structure need to be checked in sequence:
/data/train/{class_xx,class_yy,class_...};
/data/test/{class_xx,class_yy,class_...}。
furthermore, the server can also perform breakpoint continuous transmission on the data to be uploaded, namely the server skips the uploaded data and covers all the data in the folder; the server provides an auditing mechanism for the marked data, the data to be uploaded is uploaded after approval by an auditor, and in addition, the data can be directly uploaded/data/{ train | test }/folder after marking; the unlabeled data can only be uploaded to the information of/data/unsowwn/".
103. Calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data;
optionally, the server performs data check on the uploaded data, and removes error data in the uploaded data; obtaining standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; and generating a training data set corresponding to the uploaded data by using the positive sample data and the negative sample data.
Specifically, the server performs data information labeling on the uploaded data through a preset data labeling tool, the data labeling tool can be a Labellmg tool, the data labeling tool executes an open file command at first, then selects a defect area in the uploaded data, inputs a category name in a create rectangle box, and finally generates an xml file under a path for storing the file, wherein the name of the xml file is consistent with the name of a labeled picture, and when the picture is labeled, the category name is represented by a lower case letter. In addition, the server can also label semi-automatically aiming at different scenes, for example, segmentation labeling can be automatically completed after automatic generation of defective pictures, the pictures are preliminarily screened by adopting a clustering algorithm or a classification algorithm when the pictures are disordered, and the server performs automatic data cleaning after the pictures are labeled. Further, the server marks the catalog and marks the whole catalog; the server corrects the data of the individual data; and the server labels the data in the whole folder one by one. The server divides the marked standard data into positive sample data and negative sample data according to a preset proportion, wherein the proportion can be 20% of the negative sample data and 80% of the positive sample data; the server takes the positive sample data and the negative sample data as training data sets.
104. Performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels;
optionally, the server obtains a plurality of defective pictures and good-quality pictures to automatically expand the training data set to obtain an expanded data set; and performing characteristic adjustment on the expansion data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw marks.
Specifically, the server enhances the number and quality of samples by automatic algorithm expansion: the server automatically expands the training data set, extracts real flaws on the picture with the flaws, adjusts the characteristics of the picture, generates rich flaw pictures, and can automatically expand the picture to generate a good product picture. Further, data enhancement may enable the flaw detection model to have a stronger detection capability faster.
105. Acquiring a deep learning network to be trained, and inputting a plurality of sample pictures with flaw labels into the deep learning network for flaw detection to generate a feature map corresponding to each sample picture;
optionally, the server obtains a deep learning network to be trained, where the deep learning network includes: an input layer, a multilayer convolutional network, a weight layer and an output layer; respectively inputting a plurality of sample pictures with flaw marks into an input layer for processing to obtain an input picture corresponding to each sample picture; respectively inputting the input pictures into a multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture; respectively inputting the prediction graph corresponding to each sample picture into a weight layer for flaw weight processing to obtain a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size; and generating a feature map corresponding to the weight map through the output layer to obtain a feature map corresponding to each sample picture.
The deep learning network includes an input layer, where the input layer is used to perform processing such as contrast enhancement on the sample picture, so as to make a defective region in the sample picture more easily appear; the multi-layer convolutional network comprises a plurality of convolutional layers, each convolutional layer consists of a convolutional core, a BN (Batch Normalization) layer and a LeakyRelu layer, the specification of the convolutional core is 3x3, the step length is 2, the BN layer can accelerate the training speed and improve the generalization capability of the network, and the last Leaky Relu layer is an activation function and can be transmitted to the next network node only when the input value reaches a certain numerical range, so that the obvious characteristic is transmitted to the next node, and the characteristic extraction is realized; and the weight layer is accessed behind the neural network and is subjected to dot multiplication with the characteristic diagram output by the neural network through the weight layer, so that the weight of the position with the flaw in the characteristic diagram output by the neural network is improved. In the final feature map obtained in this way, the position corresponding to the maximum value in the matrix corresponding to the final feature map may be the position of the flaw in the picture with a high probability. Therefore, the defect position detection in the defect detection process is realized to a certain extent, and the problem that the position information of the defect in the picture is not reflected in the current defect detection process is solved; the output layer is used for outputting the feature map. The server inputs the prediction graph corresponding to each sample picture into the weight layer to carry out flaw weight processing to obtain a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size; and generating a feature map corresponding to the weight map through the output layer to obtain the feature map corresponding to each sample picture.
106. And performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model.
Optionally, the server calls a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset threshold value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain the deep learning network after the parameters are updated; acquiring a sample picture, inputting the sample picture into the deep learning network with updated parameters for network convergence verification, and generating a verification result of the deep learning network with updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
Specifically, the server performs targeted network optimization and parameter optimization on the deep learning network, so that the trained model has great improvement and improvement on the detected missed-kick rate and the false-kick rate, wherein the main purpose of the loss function is to calculate the difference between the prediction result and the labeling information. The difference between the prediction result and the labeling information can be quantified through the loss value, so that the parameters of the model can be conveniently adjusted subsequently and can be learned. And reversely propagating the loss value back to the deep learning network, and then carrying out random gradient descent on the deep learning network by the server through the optimizer so as to realize parameter optimization. There are different optimizers in the stochastic Gradient Descent, such as BGD (Batch Gradient Description), SDG (Stochastic Gradient Description), MBGD (Mini-Batch Gradient Description). The optimized optimizer in the scheme is an SGD optimizer. The SGD is updated only once, no redundancy exists, the speed is high, and a new sample can be added. And when the parameter optimization of the deep learning network is completed, verifying the model after the parameter optimization by adopting a verification picture, and if the loss value between the output of the deep learning network after the parameter updating and the pre-marked information picture is less than a preset loss threshold value, taking the deep learning network after the parameter updating as a flaw detection model.
In the embodiment of the invention, a data transmission request sent by a terminal is received, data to be uploaded is determined according to the data transmission request, and data uploading directory structure verification is carried out on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, uploading the data to be uploaded according to the uploading strategy to obtain uploaded data, wherein the data can be uploaded only after being labeled, and an auditing mechanism is provided for the labeled data, so that the safety of a data set is improved; calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection respectively to generate a feature map corresponding to each sample picture; and performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model. According to the method, the data enhancement processing is carried out on the data set in the defect detection model training process, the richness of the training data set is improved through the data enhancement processing, and the detection accuracy of the trained defect detection model is effectively improved through training the defect detection model through the data set after the data enhancement.
With reference to fig. 2, the method for training a fault detection model in an embodiment of the present invention is described above, and a training apparatus for a fault detection model in an embodiment of the present invention is described below, where an embodiment of the training apparatus for a fault detection model in an embodiment of the present invention includes:
the receiving module 201 is configured to receive a data transmission request sent by a terminal, determine data to be uploaded according to the data transmission request, and perform data upload directory structure verification on the data to be uploaded to obtain a verification result;
the uploading module 202 is configured to generate an uploading policy of the data to be uploaded according to the inspection result, and upload the data to be uploaded according to the uploading policy to obtain uploaded data;
the marking module 203 is configured to call a preset data marking tool to perform data marking on the uploaded data and generate a training data set corresponding to the uploaded data;
an enhancement module 204, configured to perform data enhancement processing on the training data set to generate an enhanced data set, where the enhanced data set includes a plurality of sample pictures with flaw labels;
the detection module 205 is configured to obtain a deep learning network to be trained, and input the plurality of sample pictures with the flaw labels into the deep learning network for flaw detection, so as to generate a feature map corresponding to each sample picture;
and the parameter tuning module 206 is configured to perform parameter tuning on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model.
In the embodiment of the invention, a data transmission request sent by a terminal is received, data to be uploaded is determined according to the data transmission request, and data uploading directory structure verification is carried out on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, uploading the data to be uploaded according to the uploading strategy to obtain uploaded data, wherein the data can be uploaded only after being labeled, and an auditing mechanism is provided for the labeled data, so that the safety of a data set is improved; calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection respectively to generate a feature map corresponding to each sample picture; and performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model. According to the method, the data enhancement processing is performed on the data set in the defect detection model training process, the richness of the training data set is improved through the data enhancement processing, and the detection accuracy of the trained defect detection model is effectively improved through training the defect detection model through the data set after the data enhancement processing.
Referring to fig. 3, another embodiment of the training apparatus for the defect detection model in the embodiment of the present invention includes:
the receiving module 201 is configured to receive a data transmission request sent by a terminal, determine data to be uploaded according to the data transmission request, and perform data upload directory structure verification on the data to be uploaded to obtain a verification result;
the uploading module 202 is configured to generate an uploading policy of the data to be uploaded according to the inspection result, and upload the data to be uploaded according to the uploading policy to obtain uploaded data;
the marking module 203 is configured to call a preset data marking tool to perform data marking on the uploaded data and generate a training data set corresponding to the uploaded data;
an enhancement module 204, configured to perform data enhancement processing on the training data set to generate an enhanced data set, where the enhanced data set includes a plurality of sample pictures with flaw labels;
the detection module 205 is configured to acquire a deep learning network to be trained, and input the plurality of sample pictures with the flaw labels into the deep learning network for flaw detection, so as to generate a feature map corresponding to each sample picture;
and the parameter tuning module 206 is configured to perform parameter tuning on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model.
Optionally, the receiving module 201 is specifically configured to: receiving a data transmission request sent by a terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory or not so as to verify a data uploading directory structure; if the data transmission request carries the directory folder, inquiring the directory folder carried by the data transmission request, and generating a detection result according to the directory folder; and if not, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism.
Optionally, the labeling module 203 is specifically configured to: performing data inspection on the uploaded data, and removing error data in the uploaded data to obtain standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; and generating a training data set corresponding to the uploaded data by using the positive sample data and the negative sample data.
Optionally, the enhancing module 204 further includes: an obtaining unit 2041, configured to obtain multiple defective pictures and good pictures to perform automatic expansion on the training data set, so as to obtain an expanded data set; an enhancing unit 2042, configured to perform feature adjustment on the extended data set, so as to generate an enhanced data set, where the enhanced data set includes a plurality of sample pictures with defect labels.
Optionally, the detecting module 205 is specifically configured to: obtaining a deep learning network to be trained, wherein the deep learning network comprises: an input layer, a multilayer convolutional network, a weight layer and an output layer; inputting the plurality of sample pictures with the flaw marks into the input layer for processing to obtain an input picture corresponding to each sample picture; respectively inputting the input pictures into the multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture; inputting the prediction graph corresponding to each sample picture into the weight layer for flaw weight processing to obtain a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size; and generating a feature map corresponding to the weight map through the output layer to obtain a feature map corresponding to each sample picture.
Optionally, the parameter tuning module 206 is specifically configured to: calling a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset loss value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain the deep learning network after parameter updating; acquiring a sample picture, inputting the sample picture into the deep learning network with the updated parameters for network convergence verification, and generating a verification result of the deep learning network with the updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
In the embodiment of the invention, a data transmission request sent by a terminal is received, data to be uploaded is determined according to the data transmission request, and data uploading directory structure verification is carried out on the data to be uploaded to obtain a detection result; generating an uploading strategy of the data to be uploaded according to the inspection result, uploading the data to be uploaded according to the uploading strategy to obtain uploaded data, wherein the data can be uploaded only after being labeled, and an auditing mechanism is provided for the labeled data, so that the safety of a data set is improved; calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data; performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels; acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection respectively to generate a feature map corresponding to each sample picture; and performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model. According to the method, the data enhancement processing is carried out on the data set in the defect detection model training process, the richness of the training data set is improved through the data enhancement processing, and the detection accuracy of the trained defect detection model is effectively improved through training the defect detection model through the data set after the data enhancement.
Fig. 2 and 3 describe the training apparatus of the fault detection model in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the following describes the training apparatus of the fault detection model in the embodiment of the present invention in detail from the perspective of the hardware processing.
Fig. 4 is a schematic structural diagram of a training apparatus for a fault detection model according to an embodiment of the present invention, where the training apparatus 400 for a fault detection model may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 410 (e.g., one or more processors) and a memory 420, and one or more storage media 430 (e.g., one or more mass storage devices) storing an application 433 or data 432. Memory 420 and storage medium 430 may be, among other things, transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations in the training apparatus 400 for a fault detection model. Still further, the processor 410 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the training apparatus 400 for the fault detection model.
The training apparatus 400 for the fault detection model may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input-output interfaces 460, and/or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the training apparatus configuration of the fault detection model shown in fig. 4 does not constitute a limitation of the training apparatus of the fault detection model, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The invention further provides a training device for the fault detection model, which comprises a memory and a processor, wherein the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor executes the steps of the training method for the fault detection model in the above embodiments.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the method for training a fault detection model.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A training method of a flaw detection model is characterized by comprising the following steps:
receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data uploading catalog structure verification on the data to be uploaded to obtain a detection result; the method includes the steps of receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data uploading directory structure verification on the data to be uploaded to obtain a verification result, and includes the following steps: receiving a data transmission request sent by a terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory or not so as to verify a data uploading directory structure; if the data transmission request carries the directory folder, inquiring the directory folder carried by the data transmission request, and generating a detection result according to the directory folder; if the data to be uploaded does not exist, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism; specifically, a data uploading directory structure in the data transmission process is verified to verify whether the data transmission request carries a directory specified to be uploaded, where the directory includes: a primary directory and a root directory; if the data transmission request carries the directory folder, inquiring the directory folder carried by the data transmission request, and generating a detection result according to the directory folder, wherein the detection result is used for indicating that the data transmission request carries the specified directory; if the data to be uploaded is not carried, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism, specifically, sending the data to be uploaded back to an auditor, and manually storing the uploaded data in a directory;
generating an uploading strategy of the data to be uploaded according to the inspection result, and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data; calling a preset data labeling tool to perform data labeling on the uploaded data and generate a training data set corresponding to the uploaded data, wherein the method comprises the following steps: performing data check on the uploaded data, and removing error data in the uploaded data to obtain standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; generating a training data set corresponding to the uploaded data from the positive sample data and the negative sample data; specifically, breakpoint continuous transmission is carried out on data to be uploaded, wherein the breakpoint continuous transmission is to skip the uploaded data and cover all data in a folder; providing an auditing mechanism for the marked data, and uploading the data to be uploaded after approval by an auditor;
calling a preset data labeling tool to perform data labeling on the uploaded data and generating a training data set corresponding to the uploaded data;
performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw labels;
acquiring a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection to generate a feature map corresponding to each sample picture;
performing parameter optimization on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network is converged to obtain a flaw detection model; the parameter tuning is performed on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model, and the method comprises the following steps: calling a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset loss value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain the deep learning network after parameter updating; acquiring a sample picture, inputting the sample picture into the deep learning network with the updated parameters for network convergence verification, and generating a verification result of the deep learning network with the updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
2. The method for training the flaw detection model according to claim 1, wherein the step of performing data enhancement processing on the training data set to generate an enhanced data set, wherein the enhanced data set includes a plurality of sample pictures with flaw labels, includes:
acquiring a plurality of defective pictures and good pictures to automatically expand the training data set to obtain an expanded data set;
and performing characteristic adjustment on the extended data set to generate an enhanced data set, wherein the enhanced data set comprises a plurality of sample pictures with flaw marks.
3. The method of claim 1, wherein the obtaining a deep learning network to be trained, and inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection to generate a feature map corresponding to each sample picture comprises:
obtaining a deep learning network to be trained, wherein the deep learning network comprises: an input layer, a multilayer convolution network, a weight layer and an output layer;
respectively inputting the plurality of sample pictures with flaw marks into the input layer for processing to obtain an input picture corresponding to each sample picture;
respectively inputting the input pictures into the multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture;
inputting the prediction graph corresponding to each sample picture into the weight layer to carry out flaw weight processing, and obtaining a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size;
and generating a characteristic diagram corresponding to the weight diagram through the output layer to obtain a characteristic diagram corresponding to each sample picture.
4. A training device for a flaw detection model is characterized by comprising:
the receiving module is used for receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and verifying a data uploading directory structure of the data to be uploaded to obtain a test result; the method includes the steps of receiving a data transmission request sent by a terminal, determining data to be uploaded according to the data transmission request, and performing data uploading directory structure verification on the data to be uploaded to obtain a verification result, and includes the following steps: receiving a data transmission request sent by a terminal; inquiring data to be uploaded according to the data transmission request; judging whether the data transmission request carries a specified directory or not so as to verify a data uploading directory structure; if the data transmission request is carried, inquiring a directory folder carried by the data transmission request, and generating a detection result according to the directory folder; if not, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism; specifically, a data uploading directory structure in the data transmission process is verified to verify whether the data transmission request carries a directory specified to be uploaded, where the directory includes: a primary directory and a root directory; if the data transmission request carries the directory folder, inquiring the directory folder carried by the data transmission request, and generating a detection result according to the directory folder, wherein the detection result is used for indicating that the data transmission request carries the specified directory; if the data to be uploaded is not carried, generating a test result corresponding to the data to be uploaded based on a preset auditing mechanism, specifically, sending the data to be uploaded back to an auditor, and manually storing the uploaded data in a directory;
the uploading module is used for generating an uploading strategy of the data to be uploaded according to the inspection result and uploading the data to be uploaded according to the uploading strategy to obtain uploaded data; calling a preset data labeling tool to perform data labeling on the uploaded data and generate a training data set corresponding to the uploaded data, wherein the method comprises the following steps of: performing data check on the uploaded data, and removing error data in the uploaded data to obtain standard data; marking the standard data through a preset data marking tool to obtain marked standard data; dividing the marked standard data into positive sample data and negative sample data according to a preset proportion; generating a training data set corresponding to the uploaded data from the positive sample data and the negative sample data; specifically, breakpoint resuming is performed on data to be uploaded, where the breakpoint resuming skips the uploaded data and covers all existing data in the folder; providing an auditing mechanism for the marked data, and uploading the data to be uploaded after approval by an auditor;
the marking module is used for calling a preset data marking tool to carry out data marking on the uploaded data and generating a training data set corresponding to the uploaded data;
the enhancement module is used for performing data enhancement processing on the training data set to generate an enhanced data set, and the enhanced data set comprises a plurality of sample pictures with flaw labels;
the detection module is used for acquiring a deep learning network to be trained, inputting the plurality of sample pictures with flaw labels into the deep learning network for flaw detection, and generating a feature map corresponding to each sample picture;
the parameter tuning module is used for performing parameter tuning on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model; the parameter tuning is performed on the deep learning network according to the feature map corresponding to each sample picture until the deep learning network converges to obtain a flaw detection model, and the method comprises the following steps: calling a preset loss function to calculate a loss value between the feature map and the sample picture; judging whether the loss value exceeds a preset target value or not; if the loss value does not exceed the preset loss value, carrying out reverse propagation of random gradient downward on the deep learning network according to the loss value and updating parameters in the deep learning network to obtain the deep learning network after parameter updating; acquiring a sample picture, inputting the sample picture into the deep learning network with the updated parameters for network convergence verification, and generating a verification result of the deep learning network with the updated parameters; and if the verification result is that the deep learning network after the parameter updating is converged, taking the deep learning network after the parameter updating as a flaw detection model.
5. The apparatus for training a flaw detection model according to claim 4, wherein the detection module is specifically configured to:
obtaining a deep learning network to be trained, wherein the deep learning network comprises: an input layer, a multilayer convolutional network, a weight layer and an output layer;
inputting the plurality of sample pictures with the flaw marks into the input layer for processing to obtain an input picture corresponding to each sample picture;
respectively inputting the input pictures into the multilayer convolution network for feature extraction to obtain a prediction picture corresponding to each sample picture;
inputting the prediction graph corresponding to each sample picture into the weight layer to carry out flaw weight processing, and obtaining a weight graph corresponding to each sample picture, wherein the weight graph and the prediction graph have the same size;
and generating a characteristic diagram corresponding to the weight diagram through the output layer to obtain a characteristic diagram corresponding to each sample picture.
6. A training apparatus for a flaw detection model, comprising: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause a training apparatus of the fault detection model to perform the training method of the fault detection model of any of claims 1-3.
7. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement a method of training a fault detection model according to any of claims 1-3.
CN202210747380.XA 2022-06-29 2022-06-29 Defect detection model training method, device, equipment and storage medium Active CN114820618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210747380.XA CN114820618B (en) 2022-06-29 2022-06-29 Defect detection model training method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210747380.XA CN114820618B (en) 2022-06-29 2022-06-29 Defect detection model training method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114820618A CN114820618A (en) 2022-07-29
CN114820618B true CN114820618B (en) 2022-09-13

Family

ID=82523099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210747380.XA Active CN114820618B (en) 2022-06-29 2022-06-29 Defect detection model training method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114820618B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117611580B (en) * 2024-01-18 2024-05-24 深圳市宗匠科技有限公司 Flaw detection method, flaw detection device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109509172A (en) * 2018-09-25 2019-03-22 无锡动视宫原科技有限公司 A kind of liquid crystal display flaw detection method and system based on deep learning
CN111681228A (en) * 2020-06-09 2020-09-18 创新奇智(合肥)科技有限公司 Flaw detection model, training method, detection method, apparatus, device, and medium
CN111898411A (en) * 2020-06-16 2020-11-06 华南理工大学 Text image labeling system, method, computer device and storage medium
CN113177924A (en) * 2021-05-10 2021-07-27 南通大学 Industrial production line product flaw detection method
CN114329128A (en) * 2021-12-30 2022-04-12 北京爱笔科技有限公司 Method and device for acquiring marking data, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340798A (en) * 2020-03-16 2020-06-26 浙江一木智能科技有限公司 Application of deep learning in product appearance flaw detection
CN113920053A (en) * 2021-07-22 2022-01-11 杭州深想科技有限公司 Defect detection method based on deep learning, computing device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109509172A (en) * 2018-09-25 2019-03-22 无锡动视宫原科技有限公司 A kind of liquid crystal display flaw detection method and system based on deep learning
CN111681228A (en) * 2020-06-09 2020-09-18 创新奇智(合肥)科技有限公司 Flaw detection model, training method, detection method, apparatus, device, and medium
CN111898411A (en) * 2020-06-16 2020-11-06 华南理工大学 Text image labeling system, method, computer device and storage medium
CN113177924A (en) * 2021-05-10 2021-07-27 南通大学 Industrial production line product flaw detection method
CN114329128A (en) * 2021-12-30 2022-04-12 北京爱笔科技有限公司 Method and device for acquiring marking data, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114820618A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN111309912B (en) Text classification method, apparatus, computer device and storage medium
WO2021143067A1 (en) Method and apparatus for predicting workpiece quality, and computer device
CN107608874A (en) Method of testing and device
CN109635110A (en) Data processing method, device, equipment and computer readable storage medium
JP2015087903A (en) Apparatus and method for information processing
CN105956817A (en) Bidding management method for purchase supplier
CN105930276A (en) Method and device for identifying failure reasons of test cases
US20160019282A1 (en) Discovery management method and system
US20220245402A1 (en) Ai-based pre-training model determination system, and ai-based vision inspection management system using same for product production lines
CN112416778A (en) Test case recommendation method and device and electronic equipment
US20200104805A1 (en) Methods for estimating repair data utilizing artificial intelligence and devices thereof
CN114820618B (en) Defect detection model training method, device, equipment and storage medium
CN113221960B (en) Construction method and collection method of high-quality vulnerability data collection model
CN107748898A (en) File classifying method, device, computing device and computer-readable storage medium
CN110969600A (en) Product defect detection method and device, electronic equipment and storage medium
CN111612628A (en) Method and system for classifying unbalanced data sets
CN108898504B (en) Intelligent training and improving method for mobile survey damage assessment system
CN115131655B (en) Training method and device of target detection model and target detection method
CN112419268A (en) Method, device, equipment and medium for detecting image defects of power transmission line
CN111353689B (en) Risk assessment method and device
JP6988995B2 (en) Image generator, image generator and image generator
CN110221933A (en) Aacode defect assists restorative procedure and system
EP3889784A1 (en) Test case optimization and prioritization
CN116522912B (en) Training method, device, medium and equipment for package design language model
CN111330871B (en) Quality classification method and device

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