Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 27, 2022
1 parent 7d62d19 commit c0ec7fd
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 4 deletions.
Empty file modified .github/CODE_OF_CONDUCT.md
100755 → 100644
Empty file.
Empty file modified .github/CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified deployment/libtorch/README.md
100755 → 100644
Empty file.
Empty file modified deployment/ncnn/README.md
100755 → 100644
Empty file.
Empty file modified deployment/onnxruntime/README.md
100755 → 100644
Empty file.
7 changes: 3 additions & 4 deletions deployment/tensorrt/README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,14 @@ Gpu preprocess reference code :[tensorrtx](https://github.com/wang-xinyu/tensorr
--class_names {path/to/your/class/names}
--batch 1
```

if you wanna inference in 8 batch,you should use images_folder

```bash
./yolort_trt --images_folder {path/to/your/imagefolder}
--model_path {path/to/your/serialized/tensorrt/engine}
--class_names {path/to/your/class/names}
--batch 8
```

The above `yolort_trt` will determine if it needs to build the serialized engine file from ONNX based on the file suffix, and only do serialization when the argument `--model_path` given are with `.onnx` suffixes, all other suffixes are treated as the TensorRT serialized engine.

The above `yolort_trt` will determine if it needs to build the serialized engine file from ONNX based on the file suffix, and only do serialization when the argument `--model_path` given are with `.onnx` suffixes, all other suffixes are treated as the TensorRT serialized engine.

0 comments on commit c0ec7fd

Please sign in to comment.