[BUG FIX] Fix point-cloud rendering from Camera depth map.#1512
Merged
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom Aug 6, 2025
Merged
[BUG FIX] Fix point-cloud rendering from Camera depth map.#1512duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
Conversation
duburcqa
approved these changes
Aug 6, 2025
Collaborator
YilingQiao
pushed a commit
to YilingQiao/Genesis
that referenced
this pull request
Aug 22, 2025
winnieyangwannan
pushed a commit
to winnieyangwannan/Genesis
that referenced
this pull request
Sep 14, 2025
Kashu7100
pushed a commit
to Kashu7100/Genesis
that referenced
this pull request
Jan 26, 2026
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.
Description
Fixes #1504. In file genesis/vis/camera.py
backproject_depth_to_pointcloud, the original code attempted to reshape a point-cloud array withwhere depth is a 320×320 np.ndarray.
Unpacking *depth produced 320 separate integer dimensions, blowing past NumPy’s 64-D limit and raising
ValueError: maximum supported dimension for an ndarray is currently 64, found 321
As a result, replace *depth with *depth.shape so that only the true spatial dimensions (H, W, 3) are used:
Related Issue
Resolves #1504
Motivation and Context
How Has This Been / Can This Be Tested?
Screenshots (if appropriate):
Checklist:
Submitting Code Changessection of CONTRIBUTING document.