https://github.com/akira4o4/trtexec-shell
trtexec shell script
https://github.com/akira4o4/trtexec-shell
linux onnx shell tensorrt
Last synced: about 1 year ago
JSON representation
trtexec shell script
- Host: GitHub
- URL: https://github.com/akira4o4/trtexec-shell
- Owner: akira4O4
- Created: 2024-09-05T04:10:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T08:49:44.000Z (over 1 year ago)
- Last Synced: 2025-03-27T12:04:09.094Z (over 1 year ago)
- Topics: linux, onnx, shell, tensorrt
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TRTEXEC Shell Script
---
## Intro
The repository provides shell scripts for exporting engine models and testing model performance.
The script contains most of the trtexec parameters.
- Export: ```export.sh```
- Infer: ```benchmark.sh```
Support OS:
- linux
- windows
---
## Install
```bash
git clone https://github.com/akira4O4/trtexec-shell.git
```
---
## Run
Add TensorRT to the system environment variables to run this file from anywhere.
**Export model**
```bash
sudo chmod +x export.sh
./export.sh
```
**Test model**
```bash
sudo chmod +x benchmark.sh
./benchmark.sh
```