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 ARM=1
make
As an example let me show to you Yolo3-Tiny computation
And here it is the predictions.png shown below
Enjoy!
p ;).
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)?
Pingback: Darknet in OpenCL on Beagleboard AI – iblog.isowa.io