Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_length must be undefined when using SequenceLabeler #790

Open
varisd opened this issue Feb 6, 2019 · 1 comment
Open

max_length must be undefined when using SequenceLabeler #790

varisd opened this issue Feb 6, 2019 · 1 comment
Labels

Comments

@varisd
Copy link
Member

varisd commented Feb 6, 2019

When using SequenceLabeler, the max_length argument must be unset for the underlying encoder (or input_sequence). Otherwise, there will be a shape mismatch in SequenceLabeler.cost for longer training sequences.

This is an ok behaviour, however, there is no indication of this requirement (warning, etc.) which can be quite confusing for the user.

@varisd varisd added the bug label Feb 6, 2019
@jlibovicky
Copy link
Contributor

To už mám taky zafixovaný ve větvi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants