KitwareMedical / tensorboard-plugin-3d

https://tensorboardplugin3d.readthedocs.io/en/latest/
33 stars 4 forks source link

Tensorboard 3D tab not showing #64

Closed GiudiceVitor closed 1 year ago

GiudiceVitor commented 1 year ago

I am trying to log a simple example to try to make the plugin work. I'm trying to show a simple black and white 3D image.

Here is the code:

from torch.utils.tensorboard import SummaryWriter
from monai.visualize import plot_2d_or_3d_image

writer = SummaryWriter(log_dir)
plot_2d_or_3d_image(faults_data, 0, writer, tag='Faults')
writer.close()

My faults data is of this shape, as from the documentation from MONAI (N,C,W,H,D)

(1, 1, 128, 128, 128)

Then, when I open tensorboard, I can only see the gif file on Image section (defualt from MONAI), and can never see the Tensorboard 3D tab. I've tried re-running the tensorboarding, and still nothing:

image

My tensorboard and tensorboard-plugin-3d versions are the latest:

| tensorboard                       | 2.13.0       |
| tensorboard-data-server           | 0.7.1        |
| tensorboard-plugin-3d             | 1.0.3        |

Any idea on how to get it working?

GiudiceVitor commented 1 year ago

My bad. Just saw #61 and solved my problem, My bad xD