Tensorboard-plugin throws Error when selecting RGB-shader with custom vertex features #6950
Open
3 tasks done
Labels
bug
Not a build issue, this is likely a bug.
Checklist
main
branch).Describe the issue
In the tensorboard plugin, I want to visualize two different colorings ("vertex_colors") and ("vertex_modified_colors") of one object.
Visualizing the color stored in "vertex_colors" works, but visualizing a secondary color option does not.
It works to visualize one channel of the additional vertex attribute with the shader
Colormap (Rainbow)
andColormap (Greyscale)
, butRGB
does not workSteps to reproduce the bug
Error message
Open3D WARNING] Tensor point cloud colors must have DType of Float32 not UInt8. Converting.
[Open3D INFO] OnDataChannelMessage: {"messageId":3,"class_name":"tensorboard/update_rendering","window_uid_list":["window_1"],"tag":"obj","render_state":{"property":"modified_colors","index":"0","shader":"defaultUnlit","colormap":{},"range":[0,255]},"updated":["shader"]}. Error processing message: TypeError: eq(): incompatible function arguments. The following argument types are supported:
1. (self: open3d.cpu.pybind.core.Dtype, arg0: open3d.cpu.pybind.core.Dtype) -> bool
Invoked with: UInt8, <class 'numpy.float32'>
At:
/home/manuel/anaconda3/lib/python3.11/site-packages/open3d/visualization/tensorboard_plugin/util.py(407): _normalize
/home/manuel/anaconda3/lib/python3.11/site-packages/open3d/visualization/tensorboard_plugin/util.py(670): apply
/home/manuel/anaconda3/lib/python3.11/site-packages/open3d/visualization/tensorboard_plugin/plugin.py(625): _update_rendering
Expected behavior
The expectation is that a colored point cloud should be shown. Instead, it crashes
Open3D, Python and System information
Additional information
No response
The text was updated successfully, but these errors were encountered: