A model training method and device based on machine learning

A model training and machine learning technology, applied in the field of model training based on machine learning, can solve the problems of large amount of data and high cost of labeling data, and achieve the effect of reducing costs and solving the problem of large amount of labeling sample data

Inactive Publication Date: 2019-06-14
视睿(杭州)信息科技有限公司
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a machine learning-based model training method and device to at least solve the technical problems of large amount of labeled sample data and high cost of labeled data in industrial testing

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
  • A model training method and device based on machine learning
  • A model training method and device based on machine learning
  • A model training method and device based on machine learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an embodiment of the present invention, an embodiment of a model training method based on machine learning is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

[0025] figure 1 is a flowchart of a model training method based on machine learning according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0026] In step S102, labeled data and unlabeled data are obtained from the product sample.

[0027] It should be noted that the above labeled data may be manually labeled data, and the unlabeled data is data that has not been labeled. Optionally, the product sample includes labeled data and unlabeled data...

Embodiment 2

[0067] According to an embodiment of the present invention, an embodiment of a model training apparatus based on machine learning is also provided, wherein, Figure 5 is a schematic structural diagram of a model training device based on machine learning according to an embodiment of the present invention, such as Figure 5 As shown, the apparatus includes: an acquisition module 501 , a first processing module 503 , a second processing module 505 and a training module 507 .

[0068] Among them, the obtaining module 501 is used to obtain labeled data and unlabeled data from product samples; the first processing module 503 is used to obtain the first loss function according to the labeled data; the second processing module 505 is used to obtain the unlabeled data. The second loss function; the training module 507 is used to iteratively train the product samples according to the first loss function and the second loss function to obtain a training model, wherein the training model...

Embodiment 3

[0077] According to another aspect of the embodiments of the present invention, a storage medium is also provided, and the storage medium includes a stored program, wherein when the program runs, the device where the storage medium is located is controlled to perform the model training based on machine learning in the above-mentioned Embodiment 1 method.

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 discloses a model training method and device based on machine learning. The method comprises the following steps: obtaining labeled data and unlabeled data from a product sample; obtaining a first loss function according to the labeled data; obtaining a second loss function according to the unlabeled data; and performing iterative training on the product sample according to the firstloss function and the second loss function to obtain a training model, the training model being used for detecting the quality of the product. The technical problems that in industrial detection, thedata size of samples needing to be labeled is large, and the data labeling cost is high are solved.

Description

technical field [0001] The invention relates to the field of industrial quality inspection, in particular, to a model training method and device based on machine learning. Background technique [0002] With the rapid development of computer technology, deep learning has become a hot spot in the field of machine learning. Among them, machine learning has been widely promoted in speech recognition, image recognition and other fields. [0003] At present, deep learning is widely based on supervised learning, which requires a large amount of labeled data to train the model. However, in actual production, for example, in the field of industrial quality inspection, it is necessary to collect enough labeled samples. Collecting a large number of labeled samples is not only time-consuming and labor-intensive, but also The collection of labeled samples may be difficult due to the limitation of multiple factors such as production capacity. On the other hand, in actual production, the...

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): G06K9/62
Inventor 别晓辉徐盼盼别伟成单书畅
Owner 视睿(杭州)信息科技有限公司
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