Open leayz-888 opened 2 years ago
My guess would be the simplyfied command. Im not sure if its necessary but i didnt use it for my conversion and it worked and i also didnt use --grid
@theRandString what output does that model return though? It returns 3 values instead of 7 it says
I tested some images of the coco validation set and got the following test results: Inference result of yolov7.pt: Inference result of yolov7.trt(fp16): Inference result of yolov7.trt(fp32): I integrated NMS into the onnx model, and I want to know why there is a big difference in the inference results? Looking forward to your reply! The command for model conversion is: python export.py --weights ./yolov7.pt --grid --simplify --include-nms python export.py -o ./yolov7.onnx -e ./yolov7-nms.trt -p fp16
can you please share how did you run inference using yolov7.trt?
I tested some images of the coco validation set and got the following test results: Inference result of yolov7.pt: Inference result of yolov7.trt(fp16): Inference result of yolov7.trt(fp32): I integrated NMS into the onnx model, and I want to know why there is a big difference in the inference results? Looking forward to your reply! The command for model conversion is: python export.py --weights ./yolov7.pt --grid --simplify --include-nms python export.py -o ./yolov7.onnx -e ./yolov7-nms.trt -p fp16