From d3ee2aa8e0363318213cfcd7c9ae92aa84f65c76 Mon Sep 17 00:00:00 2001 From: xiaotaofenghcc <101932352+xiaotaofenghcc@users.noreply.github.com> Date: Thu, 1 Sep 2022 10:57:03 +0800 Subject: [PATCH 1/2] Add minimal version of TensorRT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit float32 需要8.2.0+ float16需要8.2.4+ --- deployment/tensorrt/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/tensorrt/README.md b/deployment/tensorrt/README.md index 6e7cb07a..30caa20f 100644 --- a/deployment/tensorrt/README.md +++ b/deployment/tensorrt/README.md @@ -70,5 +70,7 @@ Here we will mainly discuss how to use the C++ interface, we recommend that you --model_path {path/to/your/serialized/tensorrt/engine} --class_names {path/to/your/class/names} ``` - + Add minimal version of TensorRT + float32 需要8.2.0+ float16需要8.2.4+ + 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. From 2651fa9c709467ea1de55266aa361385293218f5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 1 Sep 2022 02:57:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- deployment/tensorrt/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/tensorrt/README.md b/deployment/tensorrt/README.md index 30caa20f..c1a30c84 100644 --- a/deployment/tensorrt/README.md +++ b/deployment/tensorrt/README.md @@ -70,7 +70,8 @@ Here we will mainly discuss how to use the C++ interface, we recommend that you --model_path {path/to/your/serialized/tensorrt/engine} --class_names {path/to/your/class/names} ``` + Add minimal version of TensorRT float32 需要8.2.0+ float16需要8.2.4+ - + 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.