You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
$ python shape_error.py
Traceback (most recent call last):
File "shape_error.py", line 15, in <module>
net(mx.sym.var('data'))
File "/usr/local/lib/python3.6/site-packages/mxnet/gluon/block.py", line 304, in __call__
return self.forward(*args)
File "shape_error.py", line 12, in forward
return self._nn(self._rnn(x))
File "/usr/local/lib/python3.6/site-packages/mxnet/gluon/block.py", line 304, in __call__
return self.forward(*args)
File "/usr/local/lib/python3.6/site-packages/mxnet/gluon/rnn/rnn_layer.py", line 173, in forward
batch_size = inputs.shape[self._layout.find('N')]
AttributeError: 'Symbol' object has no attribute 'shape'
So the problem is occuring here because RNN Layer checks the shape right away.
How can I fix this?
The text was updated successfully, but these errors were encountered:
I am using the following versions,
When I run,
I get,
So the problem is occuring here because RNN Layer checks the shape right away.
How can I fix this?
The text was updated successfully, but these errors were encountered: