ported from pytorch-examples
python mnist.py
MNIST example with training and validation monitoring using TensorboardX and Tensorboard.
- TensorboardX:
pip install tensorboardX
- Tensorboard:
pip install tensorflow
(or just install tensorboard without the rest of tensorflow)
Run the example:
python mnist_with_tensorboardx.py --log_dir=/tmp/tensorboard_logs
Start tensorboard:
tensorboard --logdir=/tmp/tensorboard_logs/
MNIST example with training and validation monitoring using Visdom
- Visdom:
pip install visdom
Start visdom:
python -m visdom.server
Run the example:
python mnist_with_visdom.py