-
Notifications
You must be signed in to change notification settings - Fork 446
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
Per-class saliency maps for M-RCNN #2227
Merged
sovrasov
merged 7 commits into
openvinotoolkit:develop
from
negvet:et/per_class_sal_maps_maskrcnn
Jun 16, 2023
Merged
Per-class saliency maps for M-RCNN #2227
sovrasov
merged 7 commits into
openvinotoolkit:develop
from
negvet:et/per_class_sal_maps_maskrcnn
Jun 16, 2023
Conversation
This file contains 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
github-actions
bot
added
ALGO
Any changes in OTX Algo Tasks implementation
API
Any changes in OTX API
labels
Jun 7, 2023
negvet
force-pushed
the
et/per_class_sal_maps_maskrcnn
branch
from
June 7, 2023 16:13
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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
OTXMaskRCNNModel
wrapper).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.