Per-class saliency maps for M-RCNN#2227
Merged
sovrasov merged 7 commits intoopen-edge-platform:developfrom Jun 16, 2023
Merged
Conversation
6133b4c to
4cc1158
Compare
sungmanc
reviewed
Jun 8, 2023
otx/algorithms/detection/adapters/mmdet/hooks/det_class_probability_map_hook.py
Outdated
Show resolved
Hide resolved
otx/algorithms/detection/adapters/mmdet/hooks/det_class_probability_map_hook.py
Outdated
Show resolved
Hide resolved
sungmanc
reviewed
Jun 13, 2023
otx/algorithms/detection/adapters/mmdet/hooks/det_class_probability_map_hook.py
Outdated
Show resolved
Hide resolved
eunwoosh
reviewed
Jun 13, 2023
otx/algorithms/common/adapters/mmcv/hooks/recording_forward_hook.py
Outdated
Show resolved
Hide resolved
negvet
commented
Jun 13, 2023
otx/algorithms/detection/adapters/mmdet/hooks/det_class_probability_map_hook.py
Show resolved
Hide resolved
otx/algorithms/detection/adapters/mmdet/hooks/det_class_probability_map_hook.py
Outdated
Show resolved
Hide resolved
otx/algorithms/detection/adapters/openvino/model_wrappers/openvino_models.py
Show resolved
Hide resolved
sovrasov
reviewed
Jun 15, 2023
Member
sovrasov
left a comment
There was a problem hiding this comment.
Overall LGTM, though a bit hacky
GalyaZalesskaya
approved these changes
Jun 16, 2023
eunwoosh
approved these changes
Jun 16, 2023
sovrasov
approved these changes
Jun 16, 2023
8 tasks
sungmanc
pushed a commit
to sungmanc/training_extensions
that referenced
this pull request
Jun 29, 2023
* per class sal maps for maskrcnn * tiling support + test enablement/fix * resolve comments * enable xai detection e2e tests * comments + mrcnn xai api test * nested lists * linters, sorry for spamming :)
sungmanc
added a commit
that referenced
this pull request
Jun 29, 2023
* Per-class saliency maps for M-RCNN (#2227) * per class sal maps for maskrcnn * tiling support + test enablement/fix * resolve comments * enable xai detection e2e tests * comments + mrcnn xai api test * nested lists * linters, sorry for spamming :) * Bump-up release version 1.3.1 --> 1.3.2 * Update Changelog --------- Co-authored-by: Evgeny Tsykunov <evgeny.tsykunov@intel.com>
sungmanc
pushed a commit
to sungmanc/training_extensions
that referenced
this pull request
Jul 5, 2023
* per class sal maps for maskrcnn * tiling support + test enablement/fix * resolve comments * enable xai detection e2e tests * comments + mrcnn xai api test * nested lists * linters, sorry for spamming :)
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Generate per-class saliency maps for maskrcnn model, by aggregating raw segmentation masks.
For OV IR model maps are getting generated from filtered raw model predictions of mask head (implemented as postprocessing in
OTXMaskRCNNModelwrapper).For Torch model maps are getting from unfiltered raw model predictions of mask head (implemented as
RecordingForwardHook).Resolves CVS-111726.
To be done in a separate PR: add e2e tests for maskrcnn
Some results (OV iR model, coco dataset):

How to test
Checklist
License
Feel free to contact the maintainers if that's a concern.