Skip to content
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

[Bugfix] Allow custom visualizer #3455

Merged

Conversation

mmeendez8
Copy link
Contributor

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Current Visualization Hook can only get instances of SegLocalVisualizer. This makes impossible to use any other custom implementation.

Modification

This PR just allows to instantiate a different visualizer (following mmdetection implementation):
https://github.com/open-mmlab/mmdetection/blob/main/mmdet/engine/hooks/visualization_hook.py#L58

@mmeendez8 mmeendez8 changed the title Allow custom visualizer [Bugfix] Allow custom visualizer Nov 28, 2023
@xiexinch xiexinch changed the base branch from main to dev-1.x December 4, 2023 06:20
@xiexinch xiexinch merged commit 83bff18 into open-mmlab:dev-1.x Dec 4, 2023
7 of 9 checks passed
@mmeendez8 mmeendez8 deleted the bugfix/allow-custom-visualizers branch December 7, 2023 11:59
nahidnazifi87 pushed a commit to nahidnazifi87/mmsegmentation_playground that referenced this pull request Apr 5, 2024
Thanks for your contribution and we appreciate it a lot. The following
instructions would make your pull request more healthy and more easily
get feedback. If you do not understand some items, don't worry, just
make the pull request and seek help from maintainers.

## Motivation

Current Visualization Hook can only get instances of
`SegLocalVisualizer`. This makes impossible to use any other custom
implementation.

## Modification

This PR just allows to instantiate a different visualizer (following
mmdetection implementation):

https://github.com/open-mmlab/mmdetection/blob/main/mmdet/engine/hooks/visualization_hook.py#L58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants