cjolivier01 commented on a change in pull request #7559: nightly build 
stochastically choose optimizer
URL: https://github.com/apache/incubator-mxnet/pull/7559#discussion_r134561760
 
 

 ##########
 File path: tests/nightly/test_all.sh
 ##########
 @@ -72,9 +80,15 @@ check_val() {
 example_dir=../../example/image-classification
 # python: lenet + mnist
 test_lenet() {
-    python $example_dir/train_mnist.py \
-        --data-dir `pwd`/data/mnist/ --network lenet --gpus $gpus --num-epochs 
10 \
-        2>&1 | tee log
+    optimizer=$(get_random_optimizer)
 
 Review comment:
   Yes, it would be caught by any optimizer other than sgd.  When he test is
   run, the full set of options is displayed, so copy-pasting that will
   reproduce.
 
----------------------------------------------------------------
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