Logging with Tensorboard

I am trying to run the demo code from Demo_tensorboard.ipynb so that I can learn more about the use of Tensorboard in combination with W&B. Unfortunately this code throws this warning:

WARNING When using several event log directories, please call wandb.tensorboard.patch(root_logdir="...") before wandb.init

When I implement the suggested change with:


I get the following warning:
Found log directory outside of given root_logdir, dropping given root_logdir for event file in i:\tinyml\tiny_cnn\wandb\run-20221016_205607-22b9tlzf\files\train

So my questions is: What is a suitable root_logdir for Tensorboard?

Thanks for your support.

Hi Susanne,

Thanks for writing in! The root_logdirargument is the path to the root of all tfevent files, so you can use the wandb project folder (in this case I think it is I:/tinyml/tiny_cnn). Could you try if setting this solves the issue?


Hi Susanne,

We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.


Setting root_logdir = os.getcwd() actually solved the issue.

Thanks for the support.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.