Can't import tensorboard summary and FileWriter
In https://github.com/dmlc/mxnet-notebooks/blob/master/python/tutorials/understanding_vanish_gradient.ipynb:
from tensorboard import summary from tensorboard import FileWriter
Fails
I tested it on Amazon Ubuntu. @zihaolucky
Did you installed tensorboard already? And could you provide the error log/info for me? Thank you!
The tensorboard package isn't packed with MXNet yet, so we have to install tensorboard to use it, we're working on providing a pip/wheel solution for this.
ImportError Traceback (most recent call last)
ImportError: No module named tensor board
Tensorflow is installed. I checked dict-package under python2.7 and found tensorboard is also installed under tensorflow/python.
Then I tried "from tensorflow.python.tensorboard import summary", summary was imported. However, I couldn't find a way to import FileWriter.
Sorry, it's my bad.
The tensorboard in the tutorial is an ongoing project to make a stand-alone version of tensorboard for MXNet, where we strip the tensorboard out of TensorFlow. https://github.com/dmlc/tensorboard
It's an independent project, and currently, we have to build it from source.
OK. Thank you!
Could you add the instructions on how to install the custom tensorboard version? Otherwise, maybe the notebook should be removed then? It is confusing to have a notebook which can only run after building a custom tensorboard...
@geoalgo I suppose this particular notebook requires dmlc-tensorboard.