Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Picture category identification method and device

A category, picture technology, applied in the field of deep learning, can solve the problem of slow model convergence and so on

Active Publication Date: 2019-08-02
TONGDUN HLDG CO LTD
View PDF11 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention proposes a method and device for identifying image categories to efficiently solve the problem of slow convergence of existing image classification domain models

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
  • Picture category identification method and device
  • Picture category identification method and device
  • Picture category identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] refer to figure 1 , which shows a flowchart of a method for identifying a picture category provided in Embodiment 1 of the present invention, which may specifically include the following steps:

[0076] Step 101, input the sample picture into the pre-selection model, and predict the predicted category and corresponding predicted probability of the sample picture.

[0077] In the embodiment of the present invention, for the selected training model, the public data set or the customer's official data input model are used for training. Specifically, the input data sample is a picture sample, and the model is a classification training model, such as a convolutional neural network model, a VGG model (Visual Geometry Group Network, super-resolution test sequence), and the like. The classification training model classifies the input picture samples according to its own algorithm, and outputs the probability that each sample picture belongs to each predicted category. The maxi...

Embodiment 2

[0155] refer to figure 2 As shown, it is a structural block diagram of the image category identification device 200 provided in Embodiment 2 of the present invention. The above-mentioned device 200 may specifically include:

[0156] A preliminary prediction module 201, configured to input the sample picture into the pre-selection model, and predict the predicted category and corresponding predicted probability of the sample picture;

[0157] A division module 202, configured to divide the sample picture into correct samples or wrong samples according to the predicted category and label category of the sample picture;

[0158] The loss value calculation module 203 is configured to use the preset first weight for the correct sample and the preset second weight for the wrong sample to calculate the loss value according to the predicted probability and the expected predicted probability of the sample picture, the first weight less than the second weight;

[0159] A training mod...

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 embodiment of the invention provides a picture category identification method and device, and the method comprises the steps: inputting a sample picture into a pre-selected model, and carrying outthe prediction, so as to obtain the prediction category and corresponding prediction probability of the sample picture; calculating a loss value according to the prediction probability and the expected prediction probability of the sample picture by adopting a preset first weight for a correct sample and a preset second weight for an error sample, with the first weight being smaller than the second weight; and adjusting parameters of the pre-selected model according to the loss value to continue training until the total loss value is smaller than a preset loss value threshold value, and ending the training. In the above method, when the loss value of image classification model training is calculated, the first weight corresponding to the correct sample is set to be smaller than the secondweight of the error sample, so that the training process can pay more attention to the sample which is difficult to pay more attention to, thereby accelerating the reduction speed of the loss value,and further accelerating the convergence speed of the model at lower cost.

Description

technical field [0001] The present invention relates to the field of deep learning, in particular to a method and device for identifying picture categories. Background technique [0002] At present, deep learning is the focus of research in the field of artificial intelligence, and a large number of scholars and researchers have devoted themselves to it, promoting its rapid development. Although deep learning has made great achievements, it still faces many problems. Especially in the field of image classification, a large amount of training data and multi-possibility classification probabilities generate more intermediate data during the training process, which means that image classification model training requires more training storage space and time; training an image Classification models often take days or even months, so accelerating the training process and saving time and cost is an important research direction at present. [0003] For accelerated training, in 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
CPCG06F18/24G06F18/214
Inventor 阮晓虎
Owner TONGDUN HLDG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products