当前位置:网站首页>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 )
边栏推荐
- The file marked by labelme is converted to yolov5 format
- C#通用接口调用
- MySQL practice 45 [global lock and table lock]
- 销毁Session和清空指定的属性
- Cron表达式介绍
- The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
- Vs 2019 configure tensorrt to generate engine
- I2C subsystem (III): I2C driver
- Kubernetes family container housekeeper pod online Q & A?
- MySQL practice 45 lecture [row lock]
猜你喜欢

Super easy to use logzero

I2C subsystem (III): I2C driver

迅雷chrome扩展插件造成服务器返回的数据js解析页面数据异常
![[error record] the parameter 'can't have a value of' null 'because of its type, but the im](/img/1c/46d951e2d0193999f35f14d18a2de0.jpg)
[error record] the parameter 'can't have a value of' null 'because of its type, but the im
![[principles of multithreading and high concurrency: 1_cpu multi-level cache model]](/img/c7/6b5ab4ff7379bfccff7cdbb358ff8f.jpg)
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]

函数栈帧的创建与销毁

I2C 子系統(四):I2C debug

用docker 连接mysql的过程

Kubernetes family container housekeeper pod online Q & A?

Creation and destruction of function stack frame
随机推荐
Cron表达式介绍
JS finds all the parent nodes or child nodes under a node according to the tree structure
用docker 连接mysql的过程
Segmentation fault occurs during VFORK execution
Super easy to use logzero
解决高並發下System.currentTimeMillis卡頓
PAT乙级常用函数用法总结
[shutter] monitor the transparency gradient of the scrolling action control component (remove the blank of the top status bar | frame layout component | transparency component | monitor the scrolling
Find the storage address of the elements in the two-dimensional array
[C语言]给账号密码进行MD5加密
[error record] the parameter 'can't have a value of' null 'because of its type, but the im
Agile certification (professional scrum Master) simulation exercise-2
Notifydatasetchanged not applicable to recyclerview - notifydatasetchanged not working on recyclerview
Why does thread crash not cause JVM crash
PHP constructor with parameters - PHP constructor with a parameter
为什么线程崩溃不会导致 JVM 崩溃
The process of connecting MySQL with docker
Parameter index out of range (1 > number of parameters, which is 0)
Idea set method call ignore case
Converts a timestamp to a time in the specified format