Isaac Sim Version
4.2.0
4.1.0
4.0.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):
Isaac Lab Version (if applicable)
1.2
1.1
1.0
Other (please specify):
Operating System
Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):
GPU Information
- Model:
- Driver Version:
Topic Description
Detailed Description
I am working on implementing semantic segmentation in Isaac Sim, but I’m encountering issues with applying semantic labels and colors as expected. I’d appreciate any help with this situation. Here’s a summary of my setup and the issues I’m facing:
- Objective:
- I aim to assign unique
semanticIdandsemanticColorvalues to each object from a predefined YAML file and apply these attributes to objects in Isaac Sim. - When capturing segmentation images, I want each object to be visualized using the pre-defined
semanticColor.
- Current Setup:
- I load
semanticIdandsemanticColormappings from a YAML file and assign them to each object. For each prim, I directly set attributes likesemanticDataandsemanticColorusingprim.CreateAttribute. - I’m using
rep.AnnotatorRegistry.get_annotator("semantic_segmentation")to retrieve segmentation data, but the expected colors are not displayed correctly; only some objects are updated, or default colors are shown instead. - Even after setting
semanticDataandsemanticColor, the segmentation capture does not seem to reflect these settings. To address this, I tried setting attributes in thesemantic:Semantics:<params>format, but the issue persists.
- Current Issues:
- The
semanticColorI assigned is not reflected in the actual segmentation image, and it seems like Isaac Sim might be assigning colors randomly. - Although I manually assigned
semanticDataandsemanticColorattributes, I’m unable to accurately retrieve the color values throughrep.AnnotatorRegistry.get_annotator("semantic_segmentation"). - The segmentation image does not accurately visualize objects with the predefined colors associated with their
semanticData.
- Questions:
- How can I ensure that Isaac Sim correctly uses the user-defined color (
semanticColor) for each semantic label (semanticData) in segmentation? - Is there an alternative configuration needed besides the
semantic:Semantics:<params>format for these attributes? - Are there any recommended settings or steps I should check to ensure that the
semanticColorvalues are applied correctly in the segmentation capture?