Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/148052
Title: Implementing machine learning algorithms on FPGA for edge computing
Authors: Chen, Zhuoran
Keywords: Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence
Engineering::Computer science and engineering::Hardware::Register-transfer-level implementation
Issue Date: 2021
Publisher: Nanyang Technological University
Source: Chen, Z. (2021). Implementing machine learning algorithms on FPGA for edge computing. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/148052
Abstract: In recent years, with the development of high-performance computing devices, convolutional neural network (CNN) has become one of the most popular machine learning algorithms. It has achieved unprecedented success in various fields of application. However, despite its great performance, traditional graphic processing unit (GPU) based implementation of CNNs has the problems of high power consumption and low flexibility in deployment. Field-programmable gate array (FPGA) is a good alternative for CNN implementations. In this project, the famous LeNet-5 model is trained on GPUs and implemented on Xilinx FPGA platform for inference task. Different techniques are explored to reduce resource utilization and improve timing performance of the design. We adopt post-training quantization on the model and evaluate the results of different quantization bit width combinations. We also propose an iterative algorithm to determine the optimal solution on the trade-off between model accuracy and hardware performance. Using the proposed algorithm, the quantized model has an accuracy of 97.88% and with very low hardware utilization, its maximum clock frequency on Xilinx Virtex7 device is 67.84MHz.
URI: https://hdl.handle.net/10356/148052
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:SCBE Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
CHEN Zhuoran fyp report.pdf
  Restricted Access
1.28 MBAdobe PDFView/Open

Page view(s)

240
Updated on May 17, 2022

Download(s)

11
Updated on May 17, 2022

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.