首页> 外文会议>IEEE International Conference on Information Technology, Big Data and Artificial Intelligence >Binarized Neural Network Based On FPGA To Realize Handwritten Digit Recognition
【24h】

Binarized Neural Network Based On FPGA To Realize Handwritten Digit Recognition

机译:基于FPGA实现手写数字识别的二值化神经网络

获取原文

摘要

We trained a binarized neural network (BNN) which can be used for handwritten digit recognition on software, and implemented this BNN on the FPGA using software training parameters without the help of high-level synthesis (HLS). This BNN contains an input layer, two convolutional layers, two pooling layers, a fully connected layer and an output layer. The first convolution layer contains 10 convolution kernels, each of which has a size of $5^{ st} 5$. Each convolution kernel uses 25 arithmetic units to calculate in parallel, the calculation of 10 convolution kernels is also parallel. The size of the convolution kernels in the second convolutional layer is $3^{ st} 3$, the input and output channels are 10, we use 900 XNOR gates for calculation here. Compared with the traditional CNN, it does not need to consume DSP resources and requires less storage space for the parameters. And the power consumption obtained by Quartus ii software of this BNN is 0.136 W. The time to identify a picture is $18 mu mathrm{s}$, and the accuracy rate is 85% without the batch normalize (BN) layer.
机译:我们培训了一个二值化神经网络(BNN),可用于软件上的手写数字识别,并在FPGA上使用软件训练参数在没有高级合成(HLS)的帮助下实现该BNN。该BNN包含输入层,两个卷积层,两个汇集层,完全连接的层和输出层。第一个卷积层包含10个卷积核,每个卷积粒度都有大小 $ 5 ^ { ast } 5 $ 。每个卷积内核使用25个算术单元并行计算,计算10卷积内核的计算也是平行的。第二卷积层中卷积核的大小是 $ 3 ^ { ast } 3 $ ,输入和输出通道为10,我们在此处使用900 xnor栅极进行计算。与传统CNN相比,它不需要消耗DSP资源,并且需要较少的存储空间。该BNN的Quartus II软件获得的功耗为0.136W。识别图片的时间是 $ 18 mu mathrm { s} $ ,并且在没有批量标准化(BN)层的情况下,精度率为85%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号