insightface源码安装
【代码】insightface安装。
·
1.下载
git clone https://github.com/deepinsight/insightface.git
- 创建虚拟环境
conda create -n insightface python=3.8
- 依赖库安装
cd insightface
pip install -r requirements.txt
pip install onnxruntime-gpu #pip install onnxruntime
4.编译
cd python-package
python setup.py install
5.编译
cd insightface/python-package/insightface/thirdparty/face3d/mesh/cython
python setup.py build_ext -i
6.测试
cd insightface/python-package
cp insightface/examples/demo_analysis.py ./
python demo_analysis.py #运行测试代码
更多推荐
已为社区贡献1条内容
所有评论(0)