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

Problem with num_classes in instance segmentation #16

Open
agnieszkalysak opened this issue Apr 2, 2024 · 0 comments
Open

Problem with num_classes in instance segmentation #16

agnieszkalysak opened this issue Apr 2, 2024 · 0 comments

Comments

@agnieszkalysak
Copy link

Hi, I would like to ask another question:)

Doing the evaluation on ADE20k instance dataset, the AssertionError inside the script dinov.py appears, where there is no equality between self.sem_seg_head.num_classes == scores.shape[-1].

As I understand, the instance segmentation dataset will not have specific classes count - it is dependent of the instances count - in Detectron2 data each instance simply has unique intensity value, which is its "unique ID".

Could you please correct me, if I'm wrong, but this seems to be the blocker to see the results on ADE20k instance segmentation data. Thanks!

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