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 panoptic segmentation for ADE20k #15

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

Problem with panoptic segmentation for ADE20k #15

agnieszkalysak opened this issue Apr 2, 2024 · 2 comments

Comments

@agnieszkalysak
Copy link

Hi, I am trying to reproduce your evaluation on "ade20k_panoptic_val" dataset, but there is issue with the visual prompts generation. The script is looking for anns[ann['id']] = ann and giving KeyError: 'id'.

As I see, the Detectron2 panoptic datasets doesn't have id field natively, the data was preprocessed accordingly to the MaskDINO instruction, which you provided, and everything worked fine there.

Please, could you explain more about how visual prompts could be generated from this data? Thank you in advance :)

@FengLi-ust
Copy link
Contributor

Hi, I rerun and did not see a problem in ADE20K evaluation. Can you explain your questions with more information?

@agnieszkalysak
Copy link
Author

Thank you very much for your reply. I solved the problem with id, the issue was related to the fact, that I was registering dataset to the Detectron2 catalogue, not using your scripts from datasets/registration, but my own method, from Detectron2 Docs. With your registration, everything worked perfectly.

But still, the metrics have rather low values - I have problem with achieving similar results to yours.

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