Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix nightly build of 1.4.x (#14556)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Ishitori authored and ThomasDelteil committed Apr 10, 2019
1 parent c15cbaf commit 8b68640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tutorials/gluon/mnist.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 8b68640

Please sign in to comment.