OpenCL-Darknet: An OpenCL Implementation for Object Detection
Authors:
- 1 January 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 631-634
Abstract
Object detection is a technology that deals with recognizing classes of objects and their location. It is used in many different areas, such as in face-detecting digital cameras, surveillance tools, or self-driving cars. These days, deep learning-based object detection approaches have achieved significantly better performance than the classic feature-based algorithms. Darknet [1] is a deep learning-based object detection framework, which is well known for its fast speed and simple structure. Unfortunately, like many other frameworks, Darknet only supports NVIDIA CUDA [2] for accelerating its calculations. For this reason, a user has only limited options for graphic card selection. OpenCL" (open computing language) [3] is an open standard for cross-platform, parallel programming of heterogeneous systems. It is available not only for CPUs, GPUs (graphics processing units), but also for DSPs (digital signal processors), FPGAs (field-programmable gate arrays) and other hardware accelerators. In this paper, we present the OpenCL-Darknet, which transforms the CUDA-based Darknet into an open standard OpenCL backend. Our goal was to implement a deep learning-based object detection framework that will be available for the general accelerator hardware and to achieve competitive performance compared to the original CUDA version. We evaluated the OpenCL-Darknet in AMD R7-integraged APU (accelerated processing unit) with OpenCL 2.0 and AMD Radeon RX560 with OpenCL 1.2 using a VOC 2007 dataset [4]. We also compared its performance with the original Darknet for NVIDIA GTX 1050 with CUDA 8.0 and cuDNN 6.0.Keywords
This publication has 6 references indexed in Scilit:
- From CUDA to OpenCL: Towards a performance-portable solution for multi-platform GPU programmingParallel Computing, 2012
- clSpMV2012
- CU2CL: A CUDA-to-OpenCL Translator for Multi- and Many-Core Architectures2011
- Swan: A tool for porting CUDA programs to OpenCLComputer Physics Communications, 2011
- Histograms of Oriented Gradients for Human Detection2005
- Robust Real-Time Face DetectionInternational Journal of Computer Vision, 2004