Skip to content
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

hello,I have some mistakes with your code #2

Open
peijinwang opened this issue May 13, 2018 · 0 comments
Open

hello,I have some mistakes with your code #2

peijinwang opened this issue May 13, 2018 · 0 comments

Comments

@peijinwang
Copy link

Traceback (most recent call last):
File "./deeplab.py", line 74, in
main()
File "./deeplab.py", line 64, in main
epoch_end_callback = mx.callback.do_checkpoint(deeplab_model_prefix)
File "/.../homework/mxnet-deeplab/solver.py", line 108, in fit
self.updater(key, arr, self.arg_params[key])
File "/.../mxnet/0.7.0/python/mxnet/optimizer.py", line 1472, in call
self.optimizer.update_multi_precision(index, weight, grad, self.states[index])
File "/.../mxnet/0.7.0/python/mxnet/optimizer.py", line 536, in update_multi_precision
multi_precision=use_multi_precision)
File "/.../mxnet/0.7.0/python/mxnet/optimizer.py", line 504, in _update_impl
assert(isinstance(grad, NDArray))
AssertionError

can you help me? thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant