mxnet-notebooks
mxnet-notebooks copied to clipboard
LinearRegression Example
Bug Report
ZeroDivisionError Traceback (most recent call last)
/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
@kevinthesun
@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 https://github.com/dmlc/mxnet-notebooks/issues/40#issuecomment-284120901, 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.