当前位置:网站首页>Vs 2019 configuration tensorrt
Vs 2019 configuration tensorrt
2022-07-03 03:13:00 【AphilGuo】
To configure TensorRT
1、 download TensroRT: link :https://developer.nvidia.com/nvidia-tensorrt-8x-download
2、 Unzip the downloaded file , And will TensorRT Medium include File move to CUDA Under folder include in , And will TensortRT In the document lib Medium dll And lib The documents are placed in cuda Medium bin And lib\x64 In the folder 
3、 install TensorRT, Install these four files separately
pip install tensorrt-8.2.5.1-cp37-none-win_amd64.whl

4、 download cudnn64_8.dll, And put the file in
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin Under the table of contents 
5、 Run code
import torch
import tensorrt as trt
print(trt.__version__)
print(torch.cuda.is_available())

6、 Run the example , Modify the designated place 
7、 download cudnn:https://developer.nvidia.com/rdp/cudnn-download, Copy the files under the three folders to NVIDIA GPU Computing Toolkit Under the corresponding folder 
8、 download zlibwapi.dll file , And put the file in system32 Under the folder , Running results 
If there is a mistake , Please correct me. ( thank you )
边栏推荐
- PHP constructor with parameters - PHP constructor with a parameter
- js根据树结构查找某个节点的下面的所有父节点或者子节点
- 内存泄漏工具VLD安装及使用
- Sous - système I2C (IV): débogage I2C
- MySql实战45讲【SQL查询和更新执行流程】
- Notifydatasetchanged not applicable to recyclerview - notifydatasetchanged not working on recyclerview
- C # general interface call
- MySql实战45讲【事务隔离】
- MySQL practice 45 [global lock and table lock]
- Converts a timestamp to a time in the specified format
猜你喜欢
随机推荐
Solve high and send system Currenttimemillis Caton
Docker install MySQL
VS 2019 配置tensorRT生成engine
Variable declarations following if statements
Process the dataset and use labelencoder to convert all IDs to start from 0
MySQL practice 45 [global lock and table lock]
How to select the minimum and maximum values of columns in the data table- How to select min and max values of a column in a datatable?
idea 加载不了应用市场解决办法(亲测)
labelimg生成的xml文件转换为voc格式
函数栈帧的创建与销毁
用docker 連接mysql的過程
PAT乙级常用函数用法总结
com.fasterxml.jackson.databind.exc.InvalidFormatException问题
The process of connecting MySQL with docker
I2C subsystem (II): I3C spec
From C to capable -- use the pointer as a function parameter to find out whether the string is a palindrome character
js根据树结构查找某个节点的下面的所有父节点或者子节点
敏捷认证(Professional Scrum Master)模拟练习题-2
QT based tensorrt accelerated yolov5
Opengauss database development and debugging tool guide









