Rerun ERROR: Shape must be rank 2.
when logging depth image with shape (H, W, 1) from C++
#5254
Labels
😤 annoying
Something in the UI / SDK is annoying to use
🪳 bug
Something isn't working
🌊 C++ API
C/C++ API specific
🏎️ Quick Issue
Can be fixed in a few hours or less
Describe the annoyance
Minor annoyance: when logging a DepthImage with a tensor shape of length 3 (such as {height, width, 1}) Rerun reports
on every log call; however, the depth image shows up nonetheless.
This is a little annoying, because the same code to log an Image will not work when logging a depth image, i.e., you need some separate logic to get the tensor shape for a depth image compared to a normal image.
In Python there is no equivalent warning when logging a DepthImage with shape (H, W, 1).
Workaround
instead of
Expected behavior
Accepts tensor shapes of rank 3 as long as the last dimension has size 1.
The text was updated successfully, but these errors were encountered: