ysh329 commented on a change in pull request #7363: Add tensorboard configure 
into ./common/fit.py and ./train_mnist.py
URL: https://github.com/apache/incubator-mxnet/pull/7363#discussion_r132864621
 
 

 ##########
 File path: example/image-classification/train_mnist.py
 ##########
 @@ -75,5 +75,13 @@ def get_mnist_iter(args, kv):
     net = import_module('symbols.'+args.network)
     sym = net.get_symbol(**vars(args))
 
+    # tensorboard logs
+    train_log = 'logs/mnist/train'
+    eval_log = 'logs/mnist/eval'
+    batch_end_callbacks = 
[mx.contrib.tensorboard.LogMetricsCallback(train_log)]
 
 Review comment:
   So stupid I am, I forgot `make` and `pip install -e .`. It's okay on current 
master branch.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to