diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-10 16:38:59 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-10 16:38:59 +0100 |
| commit | e6004394a3cf47fb1514955b9a4dc283268a28ae (patch) | |
| tree | c40bbd302dcf7f0068e64fbc7b5395b46a976e7f /notes/frameworks/dlib.md | |
| parent | efadb39172eb36b4ffebeaa5169219c7954a263b (diff) | |
| parent | c07efd085b4148254f51e912282ec644c3c71d81 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'notes/frameworks/dlib.md')
| -rw-r--r-- | notes/frameworks/dlib.md | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/notes/frameworks/dlib.md b/notes/frameworks/dlib.md index a497f761..decf182b 100644 --- a/notes/frameworks/dlib.md +++ b/notes/frameworks/dlib.md @@ -1,7 +1,20 @@ # dlib + +``` +git clone https://github.com/davisking/dlib.git +cd dlib +mkdir build +d build +cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 +cmake --build . +cd .. +python setup.py install --yes USE_AVX_INSTRUCTIONS --yes DLIB_USE_CUDA +python -c 'import dlib;print(f'dlib GPU installed: {dlib.DLIB_USE_CUDA})' +``` + - dlib==19.7 required for `face_recognition` - dlib==19.6 works for 3ddfa - - `libmkl_rt.so` is missing: `export LD_LIBRARY_PATH=/home/adam/anaconda3/lib/:$LD_LIBRARY_PATH` -- if `lib16..so` is missing: `apt install libboost-all-dev`
\ No newline at end of file +- if `lib16..so` is missing: `apt install libboost-all-dev` +- libmkl_rt.so canont open shared object file: <https://github.com/davisking/dlib/issues/587>
\ No newline at end of file |
