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

Image filling method and device in FPGA acceleration of convolution neural network

A convolutional neural network, image technology, applied in the field of convolutional neural network FPGA acceleration, can solve problems such as image reduction

Active Publication Date: 2019-03-12
深兰人工智能芯片研究院(江苏)有限公司
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of the present invention provides an image filling method and device in FPGA acceleration of convolutional neural network to solve the problem that the output image becomes smaller when the original image is used for convolution calculation

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 filling method and device in FPGA acceleration of convolution neural network
  • Image filling method and device in FPGA acceleration of convolution neural network
  • Image filling method and device in FPGA acceleration of convolution neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0062] The shape and size of the components in the drawings do not reflect the true proportions, and are only intended to illustrate the content of the present invention.

[0063] Such as figure 1 As shown, the convolution algorithm in the prior art makes the output image smaller than the input image.

[0064] In order to solve the above-mentioned problem, the convolution calculation can be performed by using a zero-filling method. Exemplary...

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 filling method and a device in FPGA acceleration of a convolution neural network. The method comprises steps that an image to be processed is acquired; The image to beprocessed is displayed in the form of a first matrix, and each matrix element in the first matrix is one pixel data of the image to be processed. Performing a zero filling process on the first matrixto obtain a second matrix; The first column and the last column of the second matrix are zeros, and each matrix element in the other columns is one pixel data of the image to be processed; Alternatively, the first row and the last row of the second matrix are zero, and each matrix element in the other row is one pixel data of the image to be processed; Performing convolution calculation accordingto the second matrix and convolution weights to obtain a third matrix; The size of the third matrix is the same as the size of the first matrix. In this way, the calculated image can have the same size as the original image.

Description

Technical field [0001] The invention relates to the technical field of convolutional neural network FPGA acceleration, in particular to an image filling method and device in convolutional neural network FPGA acceleration. Background technique [0002] With the development of science and technology, more and more terminals begin to use convolutional neural networks for machine learning to complete image recognition (such as face recognition and object detection) and so on. The essence of Convolutional Neural Network (CNN) is convolution calculation. [0003] In the prior art, the convolution calculation process is as follows: [0004] See figure 1 As shown, it is a schematic diagram of a convolution calculation method for the original image and the convolution weight in the existing technology. Such as figure 1 As shown, the image filling device in the field programmable gate array (Field Programmable Gate Array, FPGA) acceleration of the convolutional neural network will input a 6×...

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
IPC IPC(8): G06T3/00G06N3/04
CPCG06N3/045G06T3/18
Inventor 陈海波
Owner 深兰人工智能芯片研究院(江苏)有限公司
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