--Add Panoptic/Instance ID support to Semantic sensor#2316
Merged
Conversation
bac2010 to
0160f2a
Compare
Merged
5 tasks
772bc70 to
be0eaaa
Compare
5 tasks
d49bd46 to
910f775
Compare
910f775 to
8b83cba
Compare
11 tasks
…ctors Part of ongoing effort to remove redundant Eigen dependency.
…ion. --Need floating point values for list/np.array initialization.
TODO this requires changes to hard-coded stage ID setting in habitat lab.
This field is ignored if semantics are not rendered.
The render camera knows which semantic data it needs from each scene node, and the scene nodes know all their appropriate data.
9ffb427 to
13c1310
Compare
5 tasks
aclegg3
reviewed
Feb 27, 2024
aclegg3
reviewed
Feb 27, 2024
Contributor
aclegg3
left a comment
There was a problem hiding this comment.
Overall good, but one more question about the subtree treatment of the semantic vector.
| SceneNode* node = new SceneNode(*this); | ||
| node->setId(this->getId()); | ||
| node->setSceneNodeTags(childNodeTags); | ||
| node->setSemanticIDVector(this->getSemanticIDVector()); |
Contributor
There was a problem hiding this comment.
Could this accidentally copy the drawable_id to non-drawable sub nodes?
aclegg3
approved these changes
Feb 28, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
This PR will add the ability to have the semantic sensor produce images containing object ID of the objects rendered per-pixel in the same way that it currently produces semantic ID observations.
Until this PR in habitat-lab is merged, this PR will fail on lab tests due to hard-coded references to the stage ID.
NOTE (side thesis): This PR also refactors many uses of Eigen vec classes to Magnum instead.
How Has This Been Tested
Locally c++ and python tests pass
Types of changes
Checklist