Model training method and device, image category detection method and device and electronic equipment

A category and image technology, applied in the computer field, can solve the problems of small number of image samples, unbalanced number of image samples, insufficient feature learning, etc., and achieve the effect of improving detection accuracy and data utilization.

Pending Publication Date: 2020-10-30
MEGVII BEIJINGTECH CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the image samples in the sample set usually have a long-tail problem, that is, the number of image samples in a small number of categories is large, and the number of image samples in most categories is small, resulting in an unbalanced number of image samples in different categories in the sample set.
In this case, for categories with a small number of image samples, sufficient image samples cannot be sampled for these categories, resulting in insufficient feature learning of image samples of these categories, which in turn results in low detection accuracy of the image category detection 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
  • Model training method and device, image category detection method and device and electronic equipment
  • Model training method and device, image category detection method and device and electronic equipment
  • Model training method and device, image category detection method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0020] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0021] Please refer to figure 1 , which shows a flow 100 of an embodiment of a method for training an image category detection model according to the present application. The execution subject of the training method of the image category detection model may be a server. Se...

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 a model training method and device, an image category detection method and device and electronic equipment. An embodiment of the method comprises the steps ofobtaining a sample set; determining a target sampling probability of each category of image samples based on the number of each category of image samples, and enabling the number of each category ofimage samples to be inversely proportional to the target sampling probability; using a random sampling mode and a sampling mode based on a target sampling probability respectively for sampling image samples in the sample set, taking the image samples sampled in different sampling modes as inputs of different branch networks in the initial model containing the double-branch network, and training the initial model based on annotation information of the sampled image samples to obtain an image category detection model. According to the embodiment, the data utilization rate in the model training process is improved, so that the model fully learns the characteristics of various types of image samples, and the detection precision of the image type detection model is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and specifically relate to a model training method, an image category detection method, an apparatus, and electronic equipment. Background technique [0002] Image recognition is a technology that uses computers to process, analyze and understand images to identify targets and objects in various patterns. When using image recognition technology to detect the category of an image, a machine learning method can usually be used to train an image category detection model, so that the model can be used to detect the category of the image to be tested. [0003] In the prior art, in the process of training the image category detection model, random sampling is usually used to sample the image samples in the sample set, so that each image sample has the same sampling probability, and then the sequentially sampled image samples are used for image category detection Model tra...

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/241G06F18/253G06F18/214
Inventor 周博言魏秀参崔权
Owner MEGVII BEIJINGTECH 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