ufal / neuralmonkey

An open-source tool for sequence learning in NLP built on TensorFlow.
BSD 3-Clause "New" or "Revised" License
410 stars 104 forks source link

False alarm message when using Feedforward attention object #743

Open varisd opened 6 years ago

varisd commented 6 years ago

When using the attention.feedforward.Attention, neuralmonkey-train reports the following message:

Coder: <neuralmonkey.attention.feed_forward.Attention object at 0x14d0cdd27470> has neither an input sequence attribute nor a a data attribute.

This is being logged by the model.model_part.Model superclass. Seems like a false/misleading information because the attention object is properly defined.

Attention is configured in the following way: [attention] class=attention.Attention name="enc_attention" encoder=\<encoder>