-
Notifications
You must be signed in to change notification settings - Fork 43
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
Not able change to other coco classes #2
Comments
Got the same error |
@roopalav Do you want to change the class name set into a custom one? You may need to write a new data registration code with the classes defined by yourself. |
I was using this code in colab, which might cause the issue. Seems like MetadataCatalog preserves the color values from previous runs. Changing the namespace from "demo" to something else for each run fixed the issue for me. Not sure if this is a problem when running as a cli as intended, instead of running in colab. |
@siglun88 Could you please share the link of your colab? |
Hi HaoZhang, It's a great job! But I have a question, why open vocabulary panorama segmentation still need to set the metadata manually, does it mean that the segmentation will fail if the category of the item in the image does not exist in the metadata? |
I have tested the demo_panoseg in Colab. I also had to compile Deformable-DETR and restart runtime in colab.
when i changed the thing classes to coco classes like cup, spoon, fork, bottle etc., i got this error.
Attribute 'thing_colors' in the metadata of 'demo' cannot be set to a different value!
if we can add text2seg or groundedsam type of prompt as class names, it would be useful.
The text was updated successfully, but these errors were encountered: