Yolov5 inference with image size different from 640 on ARTPEC8 #451
-
|
Is there a way to run the Yolov5 model trained and exported with imgsz = 1280? It doesn't work out of the box, and I couldn't find any configs to set it up. The problem is if the model itself has input size w/h = 1280 x 1280 (instead of the default 640 x 640), the system tries to create a video stream of 1280 x 1280 (instead of 1280 x 720 in the default case), and constantly fails. Model input size w/h: 1280 x 1280 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
so you adjust the img provider to using a square 1280x1280 but got 1280x720 ? please clearify more =) |
Beta Was this translation helpful? Give feedback.
What camera model ? Did you have an camera with an vertical resolution higher as 1080 eg 1280 ?
I don't know your preprocessing but looks like you crop an higer stream to fit model input. Just for you to know you can request directly 640"640 eg square resolutions from VDO. In short I think your camera are not possible to create a 12801280 stream like may a full hd camera or may such high square reso not possible. I would directly create the stream with 12801280 and look for VDO errors