-
Notifications
You must be signed in to change notification settings - Fork 862
Home
Welcome to the tensorboard-pytorch wiki!
You might want to update the package if there is any unexpected behavior.
pip uninstall tensorboard-pytorch tensorboardX
pip install tensoarboardX --upgrade
At first, the package was named tensorboard, and soon there are issues about name confliction. The first alternative name came to my mind is tensorboard-pytorch, but in order to make it more general, I chose tensorboardX which stands for tensorboard for X.
When you pip install tensorflow[-gpu]
, you also get an official tensorboard called tensorflow-tensorboard. But if you later pip install tensorboard
you end up with an unofficial tensorboard that overwrites the official one if you already have Tensorflow installed.
The unofficial (tensorboard
aims to provide a standalone package that is independent of tensorflow. And they registered tensorboard
in PyPI before google's tensorboard team.pip install tensorboard
now installs official tensorboard) That's how tensorflow-tensorboard
comes from. tensorboardX
is a pure package aiming at the logging part. The resulting log file should work with either tensorboard mentioned above. Of course, you will need the official one for newer features such as the precision-recall curve.
read more:
https://github.com/tensorflow/tensorboard/issues/684
https://github.com/dmlc/tensorboard/issues/50
https://github.com/conda-forge/staged-recipes/pull/4778
https://github.com/lanpa/tensorboard-pytorch/issues/72
Should be fixed in 85a3c8, please pip install git+https://github.com/lanpa/tensorboard-pytorch
and try again.
from tensorboard import ...
(X)
from tensorboardX import ...
(O)