Quickstart
from tensorboardX import SummaryWriter
writer = SummaryWriter()
for n_iter in range(100):
# data grouping by `slash`
writer.add_scalar('data/scalar1', dummy_s1[0], n_iter)
writer.add_scalar('data/scalar2', dummy_s2[0], n_iter)
Python
복사
Tensorboard 실행
tensorboard --logdir runs
Python
복사