sowson / darknet

Darknet on OpenCL Convolutional Neural Networks on OpenCL on Intel & NVidia & AMD & Mali GPUs for macOS & GNU/Linux & Windows & FreeBSD
http://pjreddie.com/darknet/
Other
187 stars 31 forks source link

can't see Readme #18

Closed lyolve closed 5 years ago

lyolve commented 5 years ago

can't use youtube in china

sowson commented 5 years ago

sorry by that, but 2 links below movie should works for you... that is the essence.

lyolve commented 5 years ago

Thanks for your reply, I tried to use your code on RK3288, which using a Mali GPU, however I cannot 'make' it successfully, I checked the Makefile, and found 'cuda' path in it.

CFLAGS+=-DGPU -DOPENCL -I/usr/include/ -I/usr/local/cuda/include/ LDFLAGES+= -L/usr/local/cuda/lib64 -IOpenCL -L/usr/lib64 -lclBLAS

There is no 'cuda' in my /usr/local/ I tried to change the path to my path. I changed it to usr/lib64, followed by your comment —failed; I thought maybe something missing in this folder: only have cmake, pkgconfig, libclBLAS.so, libclBLAS.so.2, libclBLAS.so.2.12.0.

/usr/lib/libclBLAS.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Makefile: 130: recipe for target 'libdarknet.so' failed

(pool English, sorry...)

lyolve commented 5 years ago

By the way, the system is Firefly Ubuntu

sowson commented 5 years ago

Basically please edit Makefile and set OPENCV=0 and RPI=1

https://codingbytodesign.net/2019/02/02/darknet-in-opencl-on-asus-thinker-board-s/