-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LinearRegression Example #40
Comments
@lincolnBush What platform are you running this notebook and get this error? I didn't get this issue on Ubuntu 14.04 or 16.04. |
Ubuntu 16.04 , maybe we could revise some codes to make it more robust
2017年3月4日星期六,Yao Wang <[email protected]> 写道:
… @lincolnBush <https://github.com/lincolnBush> What platform are you
running this notebook and get this error? I didn't get this issue on Ubuntu
14.04 or 16.04.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYdJ2szDgfi5K_bkpcsZYKpP4Za-G6Qoks5riM9igaJpZM4MIs5m>
.
|
Got the same error, MXNet 0.10.1 on Windows 64 bit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
ZeroDivisionError Traceback (most recent call last)
in ()
38 optimizer_params={'learning_rate':0.01, 'momentum': 0.9},
39 num_epoch=1000,
---> 40 batch_end_callback = mx.callback.Speedometer(batch_size, 1))
41
42
/auto/homes/yn272/.virtualenvs/HDR/local/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/module/base_module.pyc in fit(self, train_data, eval_data, eval_metric, epoch_end_callback, batch_end_callback, kvstore, optimizer, optimizer_params, eval_end_callback, eval_batch_end_callback, initializer, arg_params, aux_params, allow_missing, force_rebind, force_init, begin_epoch, num_epoch, validation_metric, monitor)
420 locals=locals())
421 for callback in _as_list(batch_end_callback):
--> 422 callback(batch_end_params)
423
424 # one epoch of training is finished
/auto/homes/yn272/.virtualenvs/HDR/local/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/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()
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: