If you are using the latest PyTorch version (1.1.0), tensorboard support is now integrated 40, using the same API as tensorboardX. You can call it with from torch.utils.tensorboard import SummaryWriter, so that you don’t need an external library.
If indeed you run in PyCharm and haven’t restarted yet, try @bigmb’s solution.