tensorboardX icon indicating copy to clipboard operation
tensorboardX copied to clipboard

[for Pytorch users] Why should one use TensorboardX if torch.utils.tensorboard is available?

Open taras-sereda opened this issue 2 years ago • 2 comments

Hey guys, great work on developing this repo! It's quite popular and apparently trusted by many people given the number of stars.

I have one important question. Why should one use TensorboardX instead of torch.utils.tensorboard? I see that TensorboardX is tested with pytorch 1.8.1, but right now pytorch 1.10.1 is already available.

It's clear to me that this repo can be used with other DL frameworks which don't have tensorboard integration. That some code bases are already using TensorboardX. But when it comes to development of a new project in pytorch, would you use TensorboardX? If so then why exactly?

Thanks!

taras-sereda avatar Jan 31 '22 10:01 taras-sereda

Is there a hidden relation between these two modules?

Seems like torch.utils.tensorboard was based on tensorboardX code as indicated by its early commits

shouldsee avatar Sep 01 '22 16:09 shouldsee

I can tell you one reason, why people are using tensorboardX instead of torch.utils.tensorboard is the direct support for writing the tfevent files to Google Cloud Storage. In torch.utils.tensorboard relies on tensorboard for this feature, which comes with a large storage overhead if your only goal is to write the files to GCS.

fellhorn avatar Apr 06 '23 05:04 fellhorn