tensorRT_Pro icon indicating copy to clipboard operation
tensorRT_Pro copied to clipboard

i want to resize input image(width, height) in YOLOV7.

Open hacunamatada opened this issue 3 years ago • 1 comments

YoloV7's trt engine is created input image size(640,640). i want to resize input image's width and height.(for example,(608,608)) what i have to do?

hacunamatada avatar Aug 03 '22 07:08 hacunamatada

  1. Ensure that the anchor part is not affected by the resolution adjustment
  2. Configure the dynamic shape, specify the width and height as dynamic during compilation, and specify it as 608x608 during inference

shouxieai avatar Aug 09 '22 03:08 shouxieai