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

usually the segmentation map is 2D but got 3D #77

Open
jhaggle opened this issue Jan 8, 2024 · 0 comments
Open

usually the segmentation map is 2D but got 3D #77

jhaggle opened this issue Jan 8, 2024 · 0 comments

Comments

@jhaggle
Copy link

jhaggle commented Jan 8, 2024

When I try to train om my own images and segmentation maps I get this:

.../mmsegmentation/mmseg/datasets/transforms/formatting.py:81: UserWarning: Please pay attention your ground truth segmentation map, usually the segmentation map is 2D, but got (209, 286, 3)

The segmentation maps are on the format
.../SegmentationClassPNG/seg_img_34.png

Why does this happen and how do I solve it?

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

No branches or pull requests

1 participant