Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.47k stars 1.49k forks source link

Is there any way to avoid using the reshape operation after inference? #572

Open ysj-xuanyuan opened 10 months ago

ysj-xuanyuan commented 10 months ago

When I use do_inference_v2, I need the reshape operation to get the correct result, but I find that the reshape operation takes a lot of time, which defeats the purpose of using tensorRT to try to speed up inference in the first place