Published May 7, 2018 | Version v1

Acceleration of Image Classification with Caffe framework using FPGA

  • 1. Department of Electrical and Computer Engineering NTUA,
  • 2. Institute of Communication and Computer Systems (ICCS/NTUA)
  • 3. Department of Electrical and Computer Engineering NTUA

Description

Caffe is a deep learning framework, originally developed at UC Berkeley and widely used in large-scale industrial applications such as vision, speech, and multimedia. It supports many different types of deep learning architectures such as CNNs (convolutional neural networks) geared towards image classification and image recognition. In this paper we develop a platform for the efficient deployment and acceleration of Caffe framework on embedded systems that are based on the Zynq SoC. The most computational intensive part of image classification is the processing of the convolution layers of the deep learning algorithms and more specifically the GEMM (general matrix multiplication) function calls. In the proposed framework, a hardware accelerator has been implemented, validated and optimized using Xilinx SDSoC Development Environment to perform the GEMM function. The accelerator that was developed achieves up to 98[1] speed-up compared with the simple ARM CPU implementation. The results showed that the mapping of Caffe on the FPGA-based Zynq takes advantage of the low-power, customizable and programmable fabric and ultimately reduces time and power consumption of image classification.

Files

Acceleration of Image Classification_paper.pdf

Files (305.6 kB)

Name Size Download all
md5:f174ffce91c6ad5493f280b9b0a8d1fd
305.6 kB Preview Download

Additional details

Funding

European Commission
VINEYARD - Versatile Integrated Accelerator-based Heterogeneous Data Centres 687628