-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
对Yolov8n.pt转wts后,再序列化构建时,addResize()函数返回值为空,应如何解决? #3961
Comments
You can upload the code for the two versions before and after here. @retioa11 |
|
Are your H,W are dynamic shape ? If H W are dynamic shape, you can ref https://github.com/lix19937/trt-samples-for-hackathon-cn/blob/master/cookbook/02-API/OptimizationProfile/main-TensorInput.py#L28 |
Oh, thank you. But wondering why my modification is returned empty and how should be modified to serialize Yolov8. Does the code in the link help? Not very understand. |
If you use dynamic shape, you should set dynamic binding's shape at each infer. |
As usual, it's caused by not setting the right dynamic shape profile or rt-input shapes. |
Thanks, I'll have it a try。 |
Tasks
The text was updated successfully, but these errors were encountered: