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

Issues with Semantic Segmentation on custom datasets #175

Open
HarshitSheoran opened this issue Jun 9, 2024 · 2 comments
Open

Issues with Semantic Segmentation on custom datasets #175

HarshitSheoran opened this issue Jun 9, 2024 · 2 comments

Comments

@HarshitSheoran
Copy link

The way I do it in EVA or MMSegmentation is that I do 4 classes (1 background + 3), reduce_zero_label = False and ignore_index=0 in every loss function (CE and Dice in this case), I do those steps and and my training works in other libraries, is this method generally wrong as I can not train properly in ViT-Adapter with this? I am not seeing any error just extremely bad predictions at very easy task

I also have confusion with how stuff + things work, when I do 1 stuff and 3 things the num_classes goes to 5 instead of 4?

@czczup Please help

@lgwplay
Copy link

lgwplay commented Jul 1, 2024

Have you solved this problem, I have a similar problem when I do semantic segmentation, there is no problem, it can be trained correctly on deit, but on beit+mask2former, the prediction in each category is close to 0

@HarshitSheoran
Copy link
Author

Nah, I never figured it out

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

2 participants