#4813·TensorRT

TRT 11.1 强类型化的 FP32 引擎对 DETR 风格的检测模型产生了错误的结果(在 ONNXRuntime 和 TRT 10.13 中正确)。

作者: ArgoHA创建于 2026年7月1日更新于 2026年9月28日
标签Module:Accuracy

Commands or scripts:

bash
pip install tensorrt==11.1.0.106 onnxruntime==1.21.1 onnx==1.21.0 numpy torch
repro.py model.onnx

repro.py:

python
import sys
import numpy as np
import onnxruntime as ort
import tensorrt as trt
import torch

内容来源: NVIDIA/TensorRT