You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by th...@apache.org on 2019/04/10 20:55:42 UTC
[incubator-mxnet] branch v1.4.x updated: Fix nightly build of 1.4.x
(#14556)
This is an automated email from the ASF dual-hosted git repository.
thomasdelteil pushed a commit to branch v1.4.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.4.x by this push:
new 8b68640 Fix nightly build of 1.4.x (#14556)
8b68640 is described below
commit 8b686407dfe769fa2ce5abc7a5511dfc08e8cff4
Author: Sergey Sokolov <Se...@gmail.com>
AuthorDate: Wed Apr 10 13:55:15 2019 -0700
Fix nightly build of 1.4.x (#14556)
* Fix nightly build of 1.4.x
Nightly build of 1.4.x keeps failing, and while in 1.5.0 there was a major rewrite for this tutorial, since 1.4.0 is already published, I made the smallest change possible to fix that. I checked the build after this change on my EC2 instance - all good.
* Force build
* Force build 2
* Force build once more
---
docs/tutorials/gluon/mnist.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/tutorials/gluon/mnist.md b/docs/tutorials/gluon/mnist.md
index 3758f56..5a4a375 100644
--- a/docs/tutorials/gluon/mnist.md
+++ b/docs/tutorials/gluon/mnist.md
@@ -279,6 +279,7 @@ trainer = gluon.Trainer(net.collect_params(), 'sgd', {'learning_rate': 0.03})
```python
# Use Accuracy as the evaluation metric.
+epoch = 10
metric = mx.metric.Accuracy()
softmax_cross_entropy_loss = gluon.loss.SoftmaxCrossEntropyLoss()