Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm架构支持 #3

Open
VectorZhao opened this issue Apr 20, 2024 · 2 comments
Open

arm架构支持 #3

VectorZhao opened this issue Apr 20, 2024 · 2 comments

Comments

@VectorZhao
Copy link

serengil/deepface#19

@noahzark
Copy link
Contributor

使用源码版是可以在 arm 上运行的。Apple SIlicon 的 Macos 手动直接安装依赖即可,对于 Ubuntu 有以下注意事项:

主要是安装编译 h5py 依赖中:
ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects
需要安装 wheel pip install wheel

error: pkg-config probably not installed: FileNotFoundError(2, 'No such file or directory')
系统需要 pkg-config apt install pkg-config

Loading library to get build settings and version: libhdf5.so
      error: Unable to load dependency HDF5, make sure HDF5 is installed properly

安装相关依赖 sudo apt install libhdf5-dev python3-h5py

以下为 Oracle ARM 运行截图:
image

以下为 MacOS 运行截图:
image

@VectorZhao
Copy link
Author

谢谢,昨晚已成功编译。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants