python yolo with opencl inference
https://github.com/digitalbrain79/pyyolo
https://github.com/ganyc717/Darknet-On-OpenCL
git clone https://github.com/Phirxian/pyyolo-cl.git build yolo in the desired inference (cuda or opencl)
cd pyyolo-cl/darknet_cl/
mkdir build ; cd build
cmake ..
make -j 4
make install
setup the desired gcc version (compatible with nvcc)
export CC=/opt/gcc-4.8/bin/gcc
export CXX=/opt/gcc-4.8/bin/g++
compile and install
cd pyyolo-cl/darknet_cu/
mkdir build ; cd build
cmake ..
make -j 4
make install
build and install the python module
cd ../../..
python3 setup_gpu.py build
python3 setup_gpu.py install
we can switch between cuda and opencl with signle make install
in the desired inference folder.