当前位置:网站首页>Model transformation onnx2engine
Model transformation onnx2engine
2022-07-03 03:09:00 【AphilGuo】
pytorch2onnx
python demo_pytorch2onnx.py <weight_file> <image_path> <batch_size> <n_classes> <IN_IMAGE_H> <IN_IMAGE_W>
example
python demo_pytorch2onnx.py yolov4.pth dog.jpg 8 80 416 416
onnx2engine
trtexec --onnx=<onnx_file> --explicitBatch --saveEngine=<tensorRT_engine_file> --workspace=<size_in_megabytes> --fp16
example
./trtexec --explicitBatch --onnx=./resnet50.onnx --saveEngine=resnet50.engine
边栏推荐
- Basic information of Promethus (I)
- I2C 子系統(四):I2C debug
- Joking about Domain Driven Design (III) -- Dilemma
- [combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
- MySQL Real combat 45 [SQL query and Update Execution Process]
- Can netstat still play like this?
- Update and return document in mongodb - update and return document in mongodb
- 你真的懂继电器吗?
- Last update time of all sqlserver tables
- Opengauss database development and debugging tool guide
猜你喜欢

你真的懂继电器吗?

I2C 子系统(一):I2C spec

Use of El tree search method

docker安装redis

Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记

TCP handshake three times and wave four times. Why does TCP need handshake three times and wave four times? TCP connection establishes a failure processing mechanism

Left connection, inner connection

SqlServer行转列PIVOT
![MySQL practice 45 [SQL query and update execution process]](/img/cd/3a635f0c3bb4ac3c8241cb77285cc8.png)
MySQL practice 45 [SQL query and update execution process]

VS 2019 配置tensorRT生成engine
随机推荐
What does it mean when lambda is not entered?
Do you really understand relays?
I2C subsystem (II): I3C spec
PHP constructor with parameters - PHP constructor with a parameter
文件重命名
Agile certification (professional scrum Master) simulation exercise-2
力扣------网格中的最小路径代价
Left connection, inner connection
VS 2019配置tensorRT
Joking about Domain Driven Design (III) -- Dilemma
Segmentation fault occurs during VFORK execution
The left value and the right finger explain better
Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
后管中编辑与预览获取表单的值写法
【PyG】理解MessagePassing过程,GCN demo详解
Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
open file in 'w' mode: IOError: [Errno 2] No such file or directory
[error record] the parameter 'can't have a value of' null 'because of its type, but the im
Creation and destruction of function stack frame
Edit and preview in the back pipe to get the value writing method of the form