Open Qiyuan-Z opened 2 years ago
https://qiyuan-z.github.io/2022/01/07/TensorRT%E5%AE%89%E8%A3%85/
安装PyCuda如果通过Python使用TensorRT的话,需要安装PyCuda,只需要执行: 1pip install pycuda (注:本人测试环境为Ubuntu16.04,在安装过程中发现PyCuda新版本会编译失败,而pycuda<=2019.1则正常。) 若安装出现问题,需手动编译,可参照官网教程: 12345678910git clone https://github.com
https://qiyuan-z.github.io/2022/01/07/TensorRT%E5%AE%89%E8%A3%85/
安装PyCuda如果通过Python使用TensorRT的话,需要安装PyCuda,只需要执行: 1pip install pycuda (注:本人测试环境为Ubuntu16.04,在安装过程中发现PyCuda新版本会编译失败,而pycuda<=2019.1则正常。) 若安装出现问题,需手动编译,可参照官网教程: 12345678910git clone https://github.com