tensorrt icon indicating copy to clipboard operation
tensorrt copied to clipboard

convert int8 engine failed

Open wangyuehy opened this issue 5 years ago • 0 comments

Background, I 'm convert yolov3 from MMDetection(PyTorch) to tensorrt engine, input shape is 13320*320 used config in 'https://github.com/open-mmlab/mmdetection/blob/master/configs/yolo/yolov3_d53_320_273e_coco.py', and the tensorrt version is 7.2.2.4

issues, while convert it into int8 engine, I found the int8 engine size abnormal, onnx size about 234M, fp16 size 122M, int8 size 234M. and I had traced the root cause, and found while the onnx model had operators "Greater" or "Less", then the trt couldn't generate int8 engine. So, does it doesn't support "Greater/Less" in int8 mode?

wangyuehy avatar Jul 02 '21 09:07 wangyuehy