Hi all,
I’m working with a YOLOE plus model from PaddleDetection GitHub - PaddlePaddle/PaddleDetection at release/2.7 and trying to use its .pdparams weights in the val.py script yolov5/val.py at master · ultralytics/yolov5 · GitHub. My process involves converting the Paddle model to ONNX and then using .onnx model for validation. (I wanted to use val.py from this repo as I want to compare some of my previous results of yolov5 with the yoloe plus). However, I am encountering an issue related to scale_factor during this process.
Issue Details:
Model: YOLOv5 from PaddleDetection (weights in .pdparams format).
Error: The script throws an error related to scale_factor.
Environment:
PaddleDetection version: 3.0.0-betal
PaddlePaddle version: release/2.5
Pytorch version : 1.13.1
Question:
Is there any known compatibility issue or additional steps required when using a PaddleDetection YOLO PP E model converted to ONNX with scale_factor in the val.py script? How should I adjust the scale_factor parameter properly in the val.py scenario to ensure correct evaluation? I have been trying something making the scale factor as 1.33 for onnx models and 1 for all other models. But it seems I am running into subsequent errors while implementing this. Is there an example I can refer to?
Any guidance or suggestions would be greatly appreciated!
Thanks in advance.