This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
mx.symbol.softmax_cross_entropy() raises error "Not enough argument to call operator softmax_cross_entropy" #6874
Labels
Comments
This can be fixed by this PR: #6766 |
jonasrauber
pushed a commit
to bethgelab/foolbox
that referenced
this issue
Jul 11, 2017
* added preprocessing_fn to pytorch model * fixed tabs * use mxnet 0.10.0 for now, because 0.10.1 is buggy (apache/mxnet#6874) * fixed pep8 violations * added test for pytorch preprocessing support * fixed test
jonasrauber
pushed a commit
to bethgelab/foolbox
that referenced
this issue
Jul 21, 2017
* added preprocessing_fn to pytorch model * fixed tabs * use mxnet 0.10.0 for now, because 0.10.1 is buggy (apache/mxnet#6874) * fixed pep8 violations * added test for pytorch preprocessing support * fixed test * Added elementwise preprocessing to all models * Removed leftover copies from mxnet * fixed hanging indent * Updated toy example
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! |
I am using mxnet-cu80 (0.11.0rc3), the issue is reproducible with the same example code. |
This error is still reproducible! |
This was referenced Apr 8, 2018
This error is still reproducible on 1.3.0. |
This is still an issue. Steps to reproduce on mxnet 1.3.1. data = mx.sym.Variable("data")
symbol = mx.syml.Variable("label")
# fails below
ce = mx.sym.softmax_cross_entropy(name="ce", data=data, label=label) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment info
Operating System:
This error was raised on Ubuntu 14.04, Windows 10 and Mac OS X El Capitan(10.11.6)
Compiler:
gcc / Visual Studio 2013 / clang-omp
Package used:
Python
MXNet version:
0.10.1(installed from source)
Python version and distribution:
2.7.6(installed by apt-get) for Ubuntu.
2.7.12(from python.org) for Windows and Mac OS.
Error Message:
(on Mac OS)
Minimum reproducible example
(this code runs fine on MXNet 0.9.5, but not on 0.10.1)
Steps to reproduce
Just run the python code above.
The text was updated successfully, but these errors were encountered: