Method and device for updating product defect detection model, storage medium and terminal equipment

A technology for detecting model and product defects, which is applied in the computer field to achieve the effect of improving applicability and detection accuracy

Active Publication Date: 2018-07-06
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF9 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method, device, storage medium and terminal equipment for updating a product defect detection model to solve or alleviate the above technical problems in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for updating product defect detection model, storage medium and terminal equipment
  • Method and device for updating product defect detection model, storage medium and terminal equipment
  • Method and device for updating product defect detection model, storage medium and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] See figure 1 The embodiment of the present invention provides a method for updating a product defect detection model, which is executed by the training engine of the detection system, and includes steps S10 to S40, which are specifically as follows:

[0050] S10, receiving a first detection model generated by training.

[0051] In the embodiment of the present invention, the first detection model can refer to a new detection model generated by training, and the second detection model can refer to an old detection model running in the system. The two detection models have the same structure and are used for Detect product defects in product pictures input to the detection system.

[0052] The conditions that trigger the generation of a new detection model can be:

[0053] Judging whether the current statistical detection accuracy of the detection system is lower than the update threshold;

[0054] If yes, obtain training data from the training database; and

[0055] Training and g...

Embodiment 2

[0070] See Figure 5 , An embodiment of the present invention provides a device for updating a product defect detection model, including:

[0071] The model receiving module 10 is configured to receive the first detection model generated by training;

[0072] The first model replacement module 20 is used to replace the second detection model run by the server in the detection system with the first detection model, and make the number of servers running the first detection model and the operating location in the replacement detection system The ratio between the number of servers of the second detection model meets the replacement ratio; the first detection model represents a new detection model generated by current training, and the second detection model represents an old detection model running in the detection system The detection model is used to detect product defects in product pictures input to the detection system;

[0073] The accuracy statistics module 30 is used to count ...

Embodiment 3

[0085] The embodiment of the present invention also provides a terminal device, such as Image 6 As shown, the device includes a memory 21 and a processor 22, and a computer program that can run on the processor 22 is stored in the memory 21. When the processor 22 executes the computer program, the method for generating a traffic guidance map in the foregoing embodiment is implemented. The number of the memory 21 and the processor 22 may be one or more.

[0086] The equipment also includes:

[0087] The communication interface 23 is used for communication between the processor 22 and external devices.

[0088] The memory 21 may include a high-speed RAM memory, or may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.

[0089] If the memory 21, the processor 22, and the communication interface 23 are implemented independently, the memory 21, the processor 22, and the communication interface 23 can be connected to each other through a bus ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for updating a product defect detection model, a storage medium and terminal equipment. The method comprises the following steps: receiving a first detection model generated by training; replacing the second detection model in a detection system with the first detection model, and making the ratio of the number of servers running the first detection model to the number of servers running the second detection model in the detection system after replacement conform to a replacement proportion; calculating the detection accuracy of the detection systembefore replacement and the detection accuracy of the detection system after replacement; and if the detection accuracy of the detection system after replacement is higher than the detection accuracyof the detection system before replacement and the difference is greater than an adjustment threshold, adjusting the replacement proportion based on a preset proportional step size increment, replacing the second detection model in the detection system with the first detection model, and making the ratio of the number of servers running the first detection model to the number of servers running the second detection model in the detection system after replacement conform to the replacement proportion after incremental adjustment. According to the invention, the applicability and detection accuracy of the detection model can be improved.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, storage medium and terminal equipment for updating a product defect detection model. Background technique [0002] In traditional industrial manufacturing production scenarios, quality inspection is a key link in the production process. In steel production, automobile manufacturing, papermaking, battery manufacturing, solar panel manufacturing and other fields, an important means of controlling product quality is to inspect the surface condition of the product to determine whether the product has flaws and defects, and according to the inspection As a result, handle the product accordingly. In traditional industrial manufacturing production scenarios, quality inspection is a key link in the production process. In steel production, automobile manufacturing, papermaking, battery manufacturing, solar panel manufacturing and other fields, an important means o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00G06T7/73G06N3/04G06N3/08G06K9/62G01N21/88
CPCG06N3/084G06T7/001G06T7/73G01N21/8851G01N2021/8861G01N2021/8887G06T2207/20081G06T2207/20084G06T2207/30108G06N3/045G06F18/213
Inventor 冷家冰刘明浩梁阳文亚伟张发恩郭江亮唐进尹世明
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products