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

A target classification method based on a convolutional neural network

A convolutional neural network and target classification technology, applied in biological neural network models, neural architectures, instruments, etc., can solve the problems of address jump growth, reduce hardware processing efficiency, etc., and achieve the effect of improving efficiency

Active Publication Date: 2019-05-21
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the convolutional neural network needs to sample the convolution kernel to traverse the input feature map when performing convolution calculations, every time a traversal is performed, an address jump will occur. Among them, the address jump refers to the process of convolution calculation. The address jump operation is performed on the input feature map data stored sequentially, and it takes more logic control to implement the address jump operation on the hardware platform than on the software platform. As the number of traversals increases, ARM (microprocessor) NEON (vector Co-processing unit) when reading data, the address jump will also increase exponentially, which greatly reduces the efficiency of hardware processing

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 target classification method based on a convolutional neural network
  • A target classification method based on a convolutional neural network
  • A target classification method based on a convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] see figure 1 , which is a flowchart of an object classification method based on a convolutional neural network provided in this embodiment. A kind of object classification method based on convolutional neural network, is characterized in that, comprises the following steps:

[0026] S1: Acquire a target image with a size of M×M.

[0027] S2: Use a sliding window with a size of (M-N+1)×(M-N+1) to traverse the entire target image row by column from the upper left corner of the target image. Extract the pixels in the sliding window from the target image as sub-images, and the number of sub-images is N×N; where N is the size of the convolution kernel used in the convolutional neural network, and the size is N×N The convolution kernel includes N×N preset feature parameters.

[0028] S3: Multiply the first preset characteristic parameter of the convolution kernel with each pixel of the first sub-image to obtain the first intermediate image, and so on, and compare the remai...

Embodiment 2

[0044] Based on the above embodiments, this embodiment further describes how to use the set fully connected layer to classify the sampled images. Specifically, classifying the sampled image using the set fully connected layer specifically includes the following steps:

[0045] The set fully connected layer is [(M-N+1) / 2] 2 Row, X column weight matrix, where X is the number of image types, each row of the weight matrix corresponds to a different preset recognition feature, each column of the weight matrix corresponds to a different image type, and each column The element value in represents the weight of the preset recognition feature of the image type corresponding to the column;

[0046] Multiplying the first pixel of the sampled image with the first row of the weight matrix to obtain a buffer matrix with 1 row and X columns;

[0047] By analogy, traverse all the pixels of the sampled image row by row to get [(M-N+1) / 2] 2 A cache matrix with 1 row and X columns;

[0048] ...

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 provides a target classification method based on a convolutional neural network. the target image is directly traversed without adopting a convolution kernel; instead, a sliding window with the same size as the output feature image is adopted to traverse the whole target image row by row and column by column; pixel points corresponding to the target image are extracted to serve as sub-images; correspondingly each characteristic parameter of the convolution kernel is multiplied by each sub-image to obtain an intermediate image; and finally, the sum value of the intermediate imagesis taken as an output feature image. Under the premise that a convolution result which is the same as that of an existing convolution implementation mode is obtained, convolution operation is dividedinto multiplication and addition operation of a single point, the number of times of address hopping when a microprocessor reads data in the convolution implementation process can be reduced to the maximum extent, and then the hardware processing efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the technical field of image classification, in particular to an object classification method based on a convolutional neural network. Background technique [0002] Image classification is an important category in the field of image processing technology. How to quickly and accurately realize image classification is a very popular research topic in the current image field. In the past five years, convolutional neural networks have achieved good results in the fields of image feature extraction, classification and recognition. [0003] Since the convolutional neural network needs to sample the convolution kernel to traverse the input feature map when performing convolution calculations, every time a traversal is performed, an address jump will occur. Among them, the address jump refers to the process of convolution calculation. The address jump operation is performed on the input feature map data stored sequentially, and it tak...

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/62G06N3/04
Inventor 陈禾魏鑫贾明飞刘文超陈亮
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
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