Build dlib with GPU on Jetson

$ git clone https://github.com/davisking/dlib.git
$ cd dlib
$ mkdir build; cd build; 
$ cmake .. -DCUDA_HOST_COMPILER=/usr/bin/gcc -DCMAKE_PREFIX_PATH=/usr/lib/aarch64-linux-gnu/ -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 -DUSE_F16C=1
$ sudo python3 setup.py install

Leave a Reply

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