DarkNet in OpenCL on Asus Thinker Board S

Hi, today I would like to share with you the setup of DarkNet in OpenCL that works fine on Asus Thinker Board S. Here it is the setup.

mkdir github
cd github
git clone https://github.com/krrishnarraj/libopencl-stub
cd libopencl-stub
make
sudo cp -r include/* /usr/include
sudo cp libOpenCL.a /usr/lib
cd ..
git clone https://github.com/sowson/darknet.git
cd darknet
# change in Makefile OPENCV=0 and RPI=1
make

As an example let me show to you Yolo3-Tiny computation

And here it is the predictions.png shown below

Enjoy!
p ;).

One Reply to “DarkNet in OpenCL on Asus Thinker Board S”

  1. Thank you for porting darknet to OpenCL and to Tinkerboard.

    I am wondering why OpenCL performance aprox 4 times slower than a CPU(with OpenNP) and with much lower prediction value (57% vs 81% for dog)?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.