-
Notifications
You must be signed in to change notification settings - Fork 648
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
instance segmentation support/example using C API #41
Comments
Hi, @tehkillerbee. Please refer to |
@lvhan028 Thank you for your advice, I managed to get it working - I should've looked closer in |
I think it's better to update |
Ok! I need to make sure the example still works with mmdetection models that does not use mask output. Can I assume that "bboxes[i].mask" will be a nullptr, if the mask is not used? |
sure |
pr #55 |
Describe the feature
Instance segmentation does not appear to be supported by the C API at this point. This would be a very welcome addition.
Motivation
I looked at the MMDeploy SDK C code and noticed that the examples do not cover Instance segmentation.
However, it is possible to deploy a model for instance segmentation (Mask RCNN) using TensorRT backend. The resulting TensorRT model works correctly. Visualizing the output shows identical output for PyTorch/TensorRT (albeit with incorrect CLASSES, since I use custom classes). Running the same model with the "object_detection.cpp" does work, although with no masks.
If this feature is already supported internally by the C API, feel free to point me in the right direction so I can make an example application myself.
The text was updated successfully, but these errors were encountered: