Open LeiWang1999 opened 2 years ago
I compared the the vgg11 generated by superbench(left) and a vgg net manually converted from pth(right).
I guess the adaptive_avg_pool2d
should be converted into global_avg_pool
so it can be imported by tensorrt onnx importer.
I am currently working on the superbench/superbench:v0.4.0-cuda11.1.1 docker workspace to measure benchmark.
To get different model's benchmark with tensorrt, I customized the
superbenchmark/examples/benchmarks/tensorrt_inference_performance.py
like belowexecution:
log :
It seems that the trt onnx importer can not support the
adaptive_avg_pool2d
op?Please cc.