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

Image hash code training model algorithm and classification learning method based on binary weight

A technology for training models and learning methods, which is applied in computing, computer components, character and pattern recognition, etc., and can solve problems such as poor classification effect, high computing overhead, and high memory usage

Active Publication Date: 2021-06-15
CHENGDU KOALA URAN TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to solve the problems of existing image classification algorithms in large-scale image data sets, such as excessive memory usage, high computational overhead, and poor classification results, and provide a method that can be used in various image categories and high-latitude scenes. Under the image classification, improve the performance of the algorithm on large-scale data sets, an image hash code training model algorithm and classification learning method based on binary weights that are accurate, efficient, fast and low memory consumption

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 hash code training model algorithm and classification learning method based on binary weight
  • Image hash code training model algorithm and classification learning method based on binary weight
  • Image hash code training model algorithm and classification learning method based on binary weight

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] An image hash code training model algorithm based on binary weights, the algorithm includes the following steps:

[0068] Step 1.1. Select the exponential loss function as the loss function used, and the formula of the objective equation is:

[0069]

[0070]

[0071] Let the generated image binary code be b i is the original training dataset middle x i For the corresponding r-bit binary code, a linear hash equation is set as:

[0072] b=sgn(P T x)

[0073] here P is the image hash transpose matrix; T is the transpose symbol; d is the dimension of image x; r is the hash code length;

[0074] The binary code of the classifier is w.

[0075] Step 1.2. Perform unified learning on the classifier obtained in step 1.1 and the binary code of the training image features, update the hash code of the training image features and the binary code of the classifier, optimize the objective equation of the loss function selected in step 1.1, and get optimized After th...

Embodiment 2

[0106] On the basis of Embodiment 1, different loss functions are selected, and the steps of a hash code image training model algorithm based on binary weights are as follows:

[0107] Step 1.1. Select a simple linear loss function as the loss function used, and the formula of the objective equation is:

[0108]

[0109]

[0110] Let the generated image binary code be b i is the original training dataset middle x i For the corresponding r-bit binary code, a linear hash equation is set as:

[0111] b=sgn(P T x)

[0112] here P is the image hash transpose matrix; T is the transpose symbol; d is the dimension of image x; r is the hash code length;

[0113] The binary code of the classifier is w.

[0114] Step 1.2: Perform unified learning on the classifier obtained in step 1.1 and the binary code of the training image feature, update the hash code of the training image feature and the binary code of the classifier, optimize the objective equation of the loss func...

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 an image hash code training model algorithm and a classification learning method based on binary weights. The model algorithm steps include: selecting a loss function, determining an objective equation, and performing binary encoding on classifiers and training image features; Code for unified learning, update binary code, optimize loss function; derive hash code training model. Also disclosed is a classification learning method using a hash code image training model based on binary weights. The steps include: the image to be searched is obtained through the hash code training model based on binary weights to obtain the hash code, and the hash code and the hash code are obtained. The Hamming distance between the binary codes of the classifiers; find the minimum Hamming distance in the Hamming distance, and obtain the corresponding classifier, which is the category of the image to be searched. The invention can classify images in multiple image categories and high-latitude scenes, improve the performance of algorithms on large-scale data sets, and is accurate, efficient, fast and low in memory consumption.

Description

technical field [0001] The invention belongs to the field of image classification methods, and in particular relates to a binary weight-based image hash code training model and a classification learning method. Background technique [0002] In recent years, due to the explosive growth of the number of digital images and the substantial improvement of image quality, the problem of large-scale visual recognition has attracted great research enthusiasm from academia and industry. The classification problem of images with tens of thousands of categories usually uses conventional classifiers for heavy calculations, such as k-nearest neighbors or k-NN, and support vector machines or SVM. In multi-class image recognition problems, a large number of classifiers produces huge computational and memory overheads, and a large number of classifiers will lead to a surge in complexity during the model training and deployment stages. Imagine that there are C categories, and each category h...

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 Patents(China)
IPC IPC(8): G06K9/62
CPCG06F18/22G06F18/214
Inventor 沈复民
Owner CHENGDU KOALA URAN TECH 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