onnxruntime (C++/CUDA) 编译安装

一、克隆及编译

git clone --recursive https://github.com/Microsoft/onnxruntime
cd onnxruntime/
git checkout v1.8.0

如果克隆的时候报错:

执行以下:

apt-get install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000

或者:

sudo apt install apt-transport-https

参考:

onnxruntime (C++/CUDA) 编译安装及部署_onnxruntime安装_白色小靴的博客-CSDN博客

Git Clone错误解决:GnuTLS recv error (-110): The TLS connection was non-properly terminated._蛙仔的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/weixin_45824067/article/details/130229604