Yes, I read this post yesterday, so I already change the version of numpy, now is 1.19.4.
For " setting environment variable OPENBLAS_CORETYPE=ARMV8"
is this should be done before install dlib? I already did it after installing dlib but it still not work. if this need to be done before dlib installing, maybe I can give it a try.
Thanks for your advice. I just figured out it probably caused by the following error.
File "/usr/local/lib/python3.6/dist-packages/dlib-19.22.99-py3.6-linux-aarch64.egg/dlib/__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: /usr/local/lib/python3.6/dist-packages/dlib-19.22.99-py3.6-linux-aarch64.egg/_dlib_pybind11.cpython-36m-aarch64-linux-gnu.so: undefined symbol: png_riffle_palette_neon
After trying to install dlib-19.19, get the following message mentioned that do not use cudnn
Checking if you have the right version of cuDNN installed.
-- *** Found cuDNN, but it looks like the wrong version so dlib will not use it. ***
-- *** Dlib requires cuDNN V5.0 OR GREATER. Since cuDNN is not found DLIB WILL NOT USE CUDA. ***
-- *** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder. ***
-- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA
what’s the path that I should set for CMAKE_PREFIX_PATH, where is normally cudnn existing?
I have tried set CMAKE_PREFIX_PATH=/usr/lib/aarch64-linux-gnu and /usr/include/aarch64-linux-gnu/ respectifully, then both got the same result.
-- Found CUDA: /usr/local/cuda (found suitable version "10.2", minimum required is "7.5")
-- Looking for cuDNN install...
-- Found cuDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so
-- Building a CUDA test project to see if your compiler is compatible with CUDA...
-- Checking if you have the right version of cuDNN installed.
-- *** Found cuDNN, but it looks like the wrong version so dlib will not use it. ***
-- *** Dlib requires cuDNN V5.0 OR GREATER. Since cuDNN is not found DLIB WILL NOT USE CUDA. ***
-- *** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder. ***
-- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA
Any ideas on this? How to check that it use whether it use the right version of cudnn? it seems that cudnn’s version or path is wrong…