diff options
| author | adamhrv <adam@ahprojects.com> | 2019-02-10 16:22:09 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-02-10 16:22:09 +0100 |
| commit | 53d5509a3271294c4332d70d5d371735ebbb2be8 (patch) | |
| tree | 201d50d360f59a36852de8ec656ffae45a6b9c70 /notes/frameworks/dlib.md | |
| parent | 74eb3c7a3e5481d8a2811136521419f91ae77486 (diff) | |
update notes
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 |
