PyTorch
December 26, 2024Less than 1 minute
Tensorboard is a visualization toolkit and can be used on pytorch also.
https://www.tensorflow.org/tensorboard
from torch.utils.tensorboard import SummaryWriter
writer = SummaryWriter("logs")
for i in range(100):
writer.add_scalar("y=2*x", 2*i, i)
writer.close()
How to visualize the result
tensorboard --logdir="logs" --port=8001