You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trained an rtmdet instance segmentation model. When I compile the model to run it with the C++ sdk the inference time goes up to 150+ ms in a 3060 GPU, whereas in python in the normal mmdet inference it takes about 30 ms. I have analysed the profile output and the preprocess step is taking about 135 ms, which I consider a lot and does not meet my runtime requirements. It just seem odd to me to have such a difference in Python than in C++.
I have already trained the model with recommended postprocess optimizations, here is my test_cfg:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have trained an rtmdet instance segmentation model. When I compile the model to run it with the C++ sdk the inference time goes up to 150+ ms in a 3060 GPU, whereas in python in the normal mmdet inference it takes about 30 ms. I have analysed the profile output and the preprocess step is taking about 135 ms, which I consider a lot and does not meet my runtime requirements. It just seem odd to me to have such a difference in Python than in C++.
I have already trained the model with recommended postprocess optimizations, here is my test_cfg:
And here is the profile output:
I would appreciate a lot some tips or some guidance in how to optimize postprocess in sdk inference.
Beta Was this translation helpful? Give feedback.
All reactions