当前位置:网站首页>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 )
边栏推荐
- Add automatic model generation function to hade
- js根据树结构查找某个节点的下面的所有父节点或者子节点
- The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
- Vs 2019 configuration du moteur de génération de tensorrt
- MySql實戰45講【SQL查詢和更新執行流程】
- MySql实战45讲【SQL查询和更新执行流程】
- Tensorflow to pytorch notes; tf. gather_ Nd (x, y) to pytorch
- 别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
- Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
- yii2 中andWhere多个or查询 orm条件
猜你喜欢
![MySQL Real combat 45 [SQL query and Update Execution Process]](/img/cd/3a635f0c3bb4ac3c8241cb77285cc8.png)
MySQL Real combat 45 [SQL query and Update Execution Process]

vfork执行时出现Segmentation fault

Do you really understand relays?

Use of El tree search method

Sqlserver row to column pivot

别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!

Opengauss database development and debugging tool guide

docker安装redis

idea 加载不了应用市场解决办法(亲测)

Vs Code configure virtual environment
随机推荐
Edit and preview in the back pipe to get the value writing method of the form
vfork执行时出现Segmentation fault
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 2)
MySQL practice 45 [global lock and table lock]
用docker 连接mysql的过程
Destroy the session and empty the specified attributes
PHP constructor with parameters - PHP constructor with a parameter
Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
PAT乙级常用函数用法总结
C # general interface call
Find the storage address of the elements in the two-dimensional array
How do you adjust the scope of activerecord Association in rails 3- How do you scope ActiveRecord associations in Rails 3?
VS 2019 配置tensorRT生成engine
Agile certification (professional scrum Master) simulation exercises
labelme标记的文件转换为yolov5格式
Le processus de connexion mysql avec docker
VS 2019 配置tensorRT生成engine
What does it mean when lambda is not entered?
Anhui University | small target tracking: large-scale data sets and baselines
Docker install redis