I have another confusion, I use tensorboard to create an events,
from torch.utils.tensorboard import SummaryWriter

if __name__ == '__main__':
    write=SummaryWriter("log")
    write.add_scalar("test",1,1)
    write.add_scalar("test",2,2)
    write.close()

but How can I run it? When I input “tensorboard --logdir==‘logs’”, it told me has no exe named tensorboard.
Thanks !