1. https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements
2.下载cuda_12.2.0_536.25_windows
3.下载cudnn cudnn-windows-x86_64-8.5.0.96_cuda11-archive
4.conda create -n onnx_test python=3.10
5.根据官方文档说明cuda12.x的版本安装onnx采用如下方式 。
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
6.提示错误:Could not locate zlibwapi.dll. Please make sure it is in your library path!
https://www.winimage.com/zLibDll/ 下载
最后完美运行机遇insightface的视频换脸
标签:视频,onnxruntime,insightface,https,gpu,换脸 From: https://www.cnblogs.com/netstat/p/18152949