Option share_hidden_layers does not work as expected #6053
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Rasa version: current master
Python version: 3.7
Issue:
If the option
share_hidden_layers
is enabled in theDIETClassifier
, we have a check which verifies that the feature dimension of the text and label features is the same. However, we also have an additional check that causes issues: That check compares thedata_signature
of the text and label features.data_signature
stores the type of the feature and the shape of the first example. For example, it could be that the shape oftext_features
is 2x53 and the shape oflabel_features
is 1x53. In this case the check fails, but it should not.Error (including full traceback):
Command or request that led to error:
Content of configuration file (config.yml) (if relevant):
The text was updated successfully, but these errors were encountered: