Image classification method and device, electronic equipment and storage medium

A classification method and image type technology, applied in the field of image processing, can solve problems such as heavy workload, poor image classification accuracy of machine learning models, and increase the difficulty of machine learning model training, so as to improve accuracy, reduce total training time, The effect of reducing processing difficulty and processing time

Pending Publication Date: 2020-10-09
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of supervised learning training of machine learning models, not only a large number of data samples are required, but also each sample data needs to be manually classified, that is, the workload of the sampling process is huge, which increases the training difficulty of machine learning models. The small amount of sample data will lead to poor image classification accuracy of the machine learning model

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
  • Image classification method and device, electronic equipment and storage medium
  • Image classification method and device, electronic equipment and storage medium
  • Image classification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is a schematic flow chart of an image classification method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where an image classification model trained in an unsupervised manner is used to classify images. classification device to perform, specifically including the following steps:

[0023] S110. Acquire an image to be processed, and input the image into a pre-trained target image classification model, wherein the target image classification model is based on the first sample with a standard type label and the first sample without a standard type label The two samples are trained by unsupervised learning.

[0024] S120. Determine the image type to which the image to be processed belongs according to an output result of the target image classification model.

[0025] Wherein, the image to be processed may be an image locally stored by the electronic device, or may be an image collected in real time by an im...

Embodiment 2

[0033] figure 2 It is a schematic flow chart of an image classification method provided in Embodiment 2 of the present invention. On the basis of the above embodiments, an unsupervised training method for a target image classification model is provided. The method specifically includes:

[0034] S210. Establish a first image classification model according to the first samples with standard type labels.

[0035] S220. Predict the second sample without a standard type label according to the first image classification model, and generate a predicted type label of the second sample according to the prediction result.

[0036] S230. Determine a first loss function according to the first sample, the standard type label of the first sample, the second sample, and the predicted type label of the second sample.

[0037] S240. Adjust parameters of the first image classification model according to the first loss function to generate the target image classification model.

[0038] S250...

Embodiment 3

[0060] Figure 4 It is a schematic flow chart of an image classification method provided in Embodiment 3 of the present invention. On the basis of the above embodiments, the unsupervised training method of the target image classification model is optimized. The method specifically includes:

[0061] S310. Establish a first image classification model according to the first samples with standard type labels.

[0062] S320. Predict the second sample without a standard type label according to the first image classification model, and generate a predicted type label of the second sample according to a prediction result.

[0063] S330. Determine a first type center point of each image type according to the first sample and the standard type label of the first sample.

[0064] S340. Determine a second type center point of each image type according to the second sample and the predicted type label of the second sample.

[0065] S350. Determine a third type of center point of each im...

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 discloses an image classification method and device, electronic equipment and a storage medium. The method comprises steps of acquiring a to-be-processed image, inputting the image to a pre-trained target image classification model, and the target image classification model is acquired through training in an unsupervised learning mode according to a first sample with a standard type label and a second sample without the standard type label; and determining an image type to which the to-be-processed image belongs according to an output result of the target imageclassification model. Through carrying out unsupervised iterative training on the image classification model through a large number of second samples without standard type labels and a small number offirst samples with standard type labels, manual classification and label setting do not need to be performed on each sample image so that the processing difficulty and the processing duration of thesample data can be reduced and the total training duration of the target image classification model can be further reduced.

Description

technical field [0001] Embodiments of the present invention relate to image processing technologies, and in particular, to an image classification method, device, electronic equipment, and storage medium. Background technique [0002] With the rapid development of electronic technology and the Internet, especially the mobile Internet, electronic devices, especially smart mobile terminals, are becoming more and more powerful. Users can install various applications on smart mobile terminals according to their own needs to complete various transactions. For example, image recognition is implemented through applications installed on electronic devices. [0003] At present, in order to identify the category of the image to identify the image, the related technology is generally implemented by means of a machine learning model, and the machine learning model is generally obtained through supervised learning and training with a large amount of sample data. In the process of superv...

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/62G06T7/00
CPCG06T7/0012G06T2207/20081G06T2207/20084G06T2207/30004G06F18/241
Inventor 潘滢炜姚霆梅涛
Owner BEIJING JINGDONG SHANGKE INFORMATION 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