Open3d for Tensorboard tutorial example not working on macOS
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).
### My Question
Hi,
I am trying to use open3d within tensorboard. I am trying to run the example from the official [tutorial](http://www.open3d.org/docs/latest/tutorial/visualization/tensorboard_plugin.html) but am not able to visualize anything on tensorboard (screenshot below).

```
import open3d as o3d
# Monkey-patch torch.utils.tensorboard.SummaryWriter
from open3d.visualization.tensorboard_plugin import summary
# Utility function to convert Open3D geometry to a dictionary format
from open3d.visualization.tensorboard_plugin.util import to_dict_batch
from torch.utils.tensorboard import SummaryWriter
cube = o3d.geometry.TriangleMesh.create_box(1, 2, 4)
cube.compute_vertex_normals()
cylinder = o3d.geometry.TriangleMesh.create_cylinder(radius=1.0,
height=2.0,
resolution=20,
split=4)
cylinder.compute_vertex_normals()
colors = [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)]
logdir = "demo_logs/pytorch/small_scale"
writer = SummaryWriter(logdir)
for step in range(3):
cube.paint_uniform_color(colors[step])
writer.add_3d('cube', to_dict_batch([cube]), step=step)
cylinder.paint_uniform_color(colors[step])
writer.add_3d('cylinder', to_dict_batch([cylinder]), step=step)
```
`tensorboard --logdir demo_logs/pytorch`
On the tutorial page it says that macOS is not supported yet, but the most recent comment on this issue #4455 seems to indicate that it should work on macOS.
Any idea why the tutorial example is not working on my end?
Thanks in advance.
OS: macOS 11.4 (Big Sur)
python: 3.9.6
open3d: 0.16.1
tensorboard: 2.11.0
torch: 1.13.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.