You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/29 08:03:56 UTC
[GitHub] [incubator-mxnet] Marcovaldong opened a new issue #15091:
AttributeError: module 'mxnet.ndarray._internal' has no attribute
'_rnn_param_concat'
Marcovaldong opened a new issue #15091: AttributeError: module 'mxnet.ndarray._internal' has no attribute '_rnn_param_concat'
URL: https://github.com/apache/incubator-mxnet/issues/15091
My code was ok when using MxNet v1.1.0. When I upgrade it to v1.4.0, I got the current error when using lstm:
```
Traceback (most recent call last):
File "train3.py", line 271, in <module>
train()
File "train3.py", line 217, in train
loss = model(xs, ys, xlen, ylen)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/block.py", line 540, in __call__
out = self.forward(*args)
File "/disk2/dongsq/my/RNNT-Transducer/model.py", line 526, in forward
f = self.encoder(xs)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/block.py", line 540, in __call__
out = self.forward(*args)
File "/disk2/dongsq/my/RNNT-Transducer/model.py", line 107, in forward
h = self.rnn(xs)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/block.py", line 540, in __call__
out = self.forward(*args)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/block.py", line 917, in forward
return self.hybrid_forward(ndarray, x, *args, **params)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/rnn/rnn_layer.py", line 234, in hybrid_forward
out = self._forward_kernel(F, inputs, states, **kwargs)
File "/disk2/dongsq/incubator-mxnet/python/mxnet/gluon/rnn/rnn_layer.py", line 257, in _forward_kernel
params = F._internal._rnn_param_concat(*params, dim=0)
AttributeError: module 'mxnet.ndarray._internal' has no attribute '_rnn_param_concat'
```
How can I fix it? Or should I upgrade it to newest version?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services