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

[Doc] for Visualization feature map using wandb backend in dev-1.x #2557

Merged
merged 7 commits into from
Feb 8, 2023
Merged

[Doc] for Visualization feature map using wandb backend in dev-1.x #2557

merged 7 commits into from
Feb 8, 2023

Conversation

jinxianwei
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

Docs for Visualization featusre map using wandb backend.

Modification

Add a new markdown file and result demo of wandb.

@MengzhangLI
Copy link
Contributor

It looks good to me.

image

@MengzhangLI
Copy link
Contributor

MengzhangLI commented Feb 8, 2023

Looks good to me except changing visualization_feature_map.py to feature_map_visual.py in README.

@jinxianwei jinxianwei requested review from MeowZheng and MengzhangLI and removed request for MeowZheng February 8, 2023 09:57
from mmseg.apis import inference_model, init_model
from mmseg.structures import SegDataSample
from mmseg.utils import register_all_modules
from mmseg.visualization import SegLocalVisualizer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi,could you tell me how to install these package from 51 to 54,thanks!

Copy link
Contributor

@MengzhangLI MengzhangLI Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi,could you tell me how to install these package from 51 to 54,thanks!

These path would be automatically searched in your mmseg codebase (Note that it is dev-1.x branch rather than master branch). You just need to follow the guidance in this README, create a python file feature_map_visual.py and put it in this place ./mmsegmentation/feature_map_visual.py.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi,I've try reinstall the whole envriment as this doc describe,now my mmcv version is 2.0.0rc4,and mmengine0.5.0,mmsegmentation1.0.0rc5.but 'vidualize_feature_map.py' line 106,'inference' line 119, my 'data_'has no atrribute '['inputs']'(use 'loadimagefromfile').also,in 'mmcv.transform.loadimagefromfile',there is no '['inputs']'. so can you tell me your mmcv version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi,I've try reinstall the whole envriment as this doc describe,now my mmcv version is 2.0.0rc4,and mmengine0.5.0,mmsegmentation1.0.0rc5.but 'vidualize_feature_map.py' line 106,'inference' line 119, my 'data_'has no atrribute '['inputs']'(use 'loadimagefromfile').also,in 'mmcv.transform.loadimagefromfile',there is no '['inputs']'. so can you tell me your mmcv version?

I also use 2.0.0rc4 mmcv

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't fix it,but still thank you.

@MeowZheng MeowZheng merged commit 08eb9a4 into open-mmlab:dev-1.x Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I I followed your method to visualize the heat map, but it does not show the heat map because recorder.data_buffer=0. What can I do to fix it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can verify the sub module name of "source" in your model by debug.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can verify the sub module name of "source" in your model by debug.

In a semantic partitioned heat map, usually one heat map is drawn for one class. I have used your method to draw a heat map that contains all classes, and the function to draw the heat map in mmengine does not seem to have a parameter to select a class.

aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
)

* add  intermediate logging
---------

Co-authored-by: yiyixuxu <yixu310@gmail,com>
@jason102811
Copy link

yangyang-luo702,您好!您在MMSeg项目中给我们提的PR非常重要,感谢您付出私人时间帮助改进开源项目,相信很多开发者会从你的PR中受益。
我们非常期待与您继续合作,OpenMMLab专门成立了贡献者组织MMSIG,为贡献者们提供开源证书、荣誉体系和专享好礼,可通过添加微信:openmmlabwx 联系我们(请备注mmsig+GitHub id),由衷希望您能加入!
Dear yangyang-luo702,
First of all, we want to express our gratitude for your significant PR in the MMSeg project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We are looking forward to continuing our collaboration with you. OpenMMLab has established a special contributors' organization called MMSIG, which provides contributors with open-source certificates, a recognition system, and exclusive rewards. You can contact us by adding our WeChat(if you have WeChat): openmmlabwx, or join in our discord: https://discord.gg/qH9fysxPDW. We sincerely hope you will join us!
Best regards! @Yangyang-luo702

nahidnazifi87 pushed a commit to nahidnazifi87/mmsegmentation_playground that referenced this pull request Apr 5, 2024
…pen-mmlab#2557)

## Motivation

Docs for Visualization featusre map using wandb backend.

## Modification

Add a new markdown file and result demo of wandb.

---------

Co-authored-by: MeowZheng <meowzheng@outlook.com>
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

6 participants