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

mxnet-notebook example failed. #5196

Closed
NanyangYe opened this issue Mar 1, 2017 · 1 comment
Closed

mxnet-notebook example failed. #5196

NanyangYe opened this issue Mar 1, 2017 · 1 comment

Comments

@NanyangYe
Copy link

NanyangYe commented Mar 1, 2017

The example for linear regression failed with the error below, Is there anyone has idea about that? Many thanks.

https://github.com/dmlc/mxnet-notebooks/blob/master/python/tutorials/linear-regression.ipynb


ZeroDivisionError Traceback (most recent call last)
in ()
32 optimizer_params={'learning_rate':0.00001, 'momentum': 0.9},
33 num_epoch=1000,
---> 34 batch_end_callback = mx.callback.Speedometer(batch_size, 5))
35

mxnet/callback.pyc in call(self, param)
114 if self.init:
115 if count % self.frequent == 0:
--> 116 speed = self.frequent * self.batch_size / (time.time() - self.tic)
117 if param.eval_metric is not None:
118 name_value = param.eval_metric.get_name_value()

@szha
Copy link
Member

szha commented Sep 29, 2017

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!

@szha szha closed this as completed Sep 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants