I am getting the following error when using the IdentityAttachKLSparseReg
Symbol. Here's my code :
import mxnet as mx
data = mx.symbol.Variable(“data”)
data_nd = mx.nd.array([1,1,1,1])
out = mx.symbol.IdentityAttachKLSparseReg(data)
exe = out.bind(mx.cpu(), {‘data’ : data_nd })
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/mxnet/symbol.py”, line 1607, in
bind
‘aux_states’, aux_states, self.list_auxiliary_states(), False)
File “/usr/local/lib/python2.7/dist-packages/mxnet/symbol.py”, line 1242, in
_get_ndarray_inputs
raise ValueError(‘Length of %s does not match the number of arguments’ %
arg_key)
ValueError: Length of aux_states does not match the number of arguments
Am specifying only one Input as per the description. But still it throws out
error stating the number of arguments are less ( 1 vs 2 ). The scenario is the
same in NDArray.
[ Full content available at:
https://github.com/apache/incubator-mxnet/issues/12444 ]
This message was relayed via gitbox.apache.org for [email protected]