用於卷積神經網路的零相成分分析前置處理器
The Zero-Phase Component Analysis Pre-Processor for Convolution Neural Networks
摘要
近年來,越來越多以類神經網路為基礎的物件辨識演算法被發表,物件辨識在無人機的角色也慢慢變的重要。無人機需要即時的計算能力去避免碰撞到障礙物和低功耗的需求去延長飛行時間,模型壓縮對於在無人機中有效部署神經網絡模型至關重要,目前作品使用到嵌入式的GPU或是FPGA板皆沒有辦法達成即時處理和低功耗的需求。
本論文題出零相成分分析的前置處理器,此加速器為物件辨識系統晶片的一部分。選擇存取次數最小的動態隨機存取記憶體與使用最小靜態隨機存取記憶體的架構和裁切圖片成小塊的方式運算達到有效地節省運算資源。此硬體加速器可以在400M Hz的晶片上達到303幀數,符合無人機上的需求並且於FPGA上進行驗證,壓縮17%卷神經網路模型以及可以降低整體物件辨識系統10%功耗以及加速1.2倍。藉由降低功耗和提升速度可以增加無人機的表現以及延長無人機的飛行時間。
本論文題出零相成分分析的前置處理器,此加速器為物件辨識系統晶片的一部分。選擇存取次數最小的動態隨機存取記憶體與使用最小靜態隨機存取記憶體的架構和裁切圖片成小塊的方式運算達到有效地節省運算資源。此硬體加速器可以在400M Hz的晶片上達到303幀數,符合無人機上的需求並且於FPGA上進行驗證,壓縮17%卷神經網路模型以及可以降低整體物件辨識系統10%功耗以及加速1.2倍。藉由降低功耗和提升速度可以增加無人機的表現以及延長無人機的飛行時間。
Recently, more and more convolution neural networks based the object detection are proposed. Object detection plays an increasingly important role in drones. Drones need real-time processing to avoid object collisions and have low power demand to extend flight time. Model compression is essential for the efficient deployment of neural network models in drones. Current solutions using embedded GPU or FPGA don’t meet the real-time and low power requirements.
In this thesis, the design of ZCA hardware for preprocessing is part of the object detection system. The combination of accessing DRAM times and SRAM size is the smallest for hardware architectures and the hardware uses the block-based ZCA to reduce computing resources efficiently. The block-based ZCA hardware can achieve 303 FPS for chip on 400M Hz and meets constraints of drones. The ZCA hardware is verified on FPGA and we can compress 17% model size, reduce 10% power consumption and speed up to 1.2x FPS for the system. Decreasing power and speeding up FPS can improve performance and flight time.
In this thesis, the design of ZCA hardware for preprocessing is part of the object detection system. The combination of accessing DRAM times and SRAM size is the smallest for hardware architectures and the hardware uses the block-based ZCA to reduce computing resources efficiently. The block-based ZCA hardware can achieve 303 FPS for chip on 400M Hz and meets constraints of drones. The ZCA hardware is verified on FPGA and we can compress 17% model size, reduce 10% power consumption and speed up to 1.2x FPS for the system. Decreasing power and speeding up FPS can improve performance and flight time.