Now you can make the project and CUDA will be enabled. Once you have CUDA installed, change the first line of the Makefile in the base directory to read: GPU=1 I won't go into CUDA installation in detail because it is terrifying. Compiling With CUDAĭarknet on the CPU is fast but it's like 500 times faster on GPU! You'll have to have an Nvidia GPU and you'll have to install CUDA. Great! Now check out the cool things you can do with darknet here. If you have any errors, try to fix them? If everything seems to have compiled correctly, try running it!. Gcc -I/usr/local/cuda/include/ -Wall -Wfatal-errors -Ofast. If this works you should see a whole bunch of compiling information fly by: mkdir -p obj If it doesn't work for you, email me or something? Installing The Base Systemįirst clone the Darknet git repository here. I've only tested this on Linux and Mac computers. OpenCV if you want a wider variety of supported image types.īoth are optional so lets start by just installing the base system.Darknet is easy to install with only two optional dependancies:
0 Comments
Leave a Reply. |