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
Traceback (most recent call last):
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 191, in
int(args.max), args.mix)
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 104, in stack
for model in models_list
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 104, in
for model in models_list
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/scripts/rnn.py", line 144, in SARNNKeras
)(x)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/base_layer.py", line 451, in call
output = self.call(inputs, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/keras_self_attention/seq_self_attention.py", line 169, in call
e = self._call_additive_emission(inputs)
File "/usr/local/lib/python3.6/dist-packages/keras_self_attention/seq_self_attention.py", line 223, in _call_additive_emission
q = K.tile(K.expand_dims(q, 2), K.stack([1, 1, input_len, 1]))
File "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 2430, in tile
if len(n) < len(shape): # Padding the axis
TypeError: object of type 'Tensor' has no len()
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 191, in
int(args.max), args.mix)
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 104, in stack
for model in models_list
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/main_stack_hier.py", line 104, in
for model in models_list
File "/content/drive/My Drive/Colab Notebooks/Aivivn_1/scripts/rnn.py", line 144, in SARNNKeras
)(x)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/base_layer.py", line 451, in call
output = self.call(inputs, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/keras_self_attention/seq_self_attention.py", line 169, in call
e = self._call_additive_emission(inputs)
File "/usr/local/lib/python3.6/dist-packages/keras_self_attention/seq_self_attention.py", line 223, in _call_additive_emission
q = K.tile(K.expand_dims(q, 2), K.stack([1, 1, input_len, 1]))
File "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 2430, in tile
if len(n) < len(shape): # Padding the axis
TypeError: object of type 'Tensor' has no len()
The text was updated successfully, but these errors were encountered: