-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsize can't input high resolution #1
Comments
For my understanding, this is the input size for the model. |
errors still occur. The input image size is 1600 when I custom trained custom model. change Input size on yolov5 source code is OK. But in your code only [640,640] is OK, [608, 1088], [800, 1440] all occur errors, How to solve it |
I'm not sure, give me your model and 1 image, I will check later. |
Try (896, 1600)? |
Thank you for your timely reply. [896, 1600] is correct, everything is OK. |
As your have mentioned,Input size [608, 1088], [800, 1088], [896,1440] all invalid and occur errors when inference videos (2.mp4). |
I get the numbers from the original repo. For my understanding, with [608, 1088], 608 / image width < 1088 / image height, the model only cares about 608, and that is not the true scale for yolov5x6, then the boxes shift. With [896,1440], the model gets 1440, and this is not a valid input. You can get it at update function in tracker/bytetracker.py. |
So ,How can I change this. Arbitrary image width and height can be entered |
No, I think it must be 1 of that numbers. |
I change different input images, but errors occur once more. Can the author change this status, or reply more clearly? boxes drift is too serious! |
It's based on your model input size, not your image size. |
OK, I see that's model input size. I set model input size [832,1536], video frame size is [4000,3000], but boxes drift is too serious, what's wrong? and how to change, I need chage image size to [832, 1536]? |
I use yolov5 training input image size is (1600,1600), when inferencing, I want to set tsize to (1600,1600), but there is an error, what happened? tsize = (640,640)is running and correct.
The text was updated successfully, but these errors were encountered: