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

[BUG] Text size is more than model handle #113

Closed
lalitpagaria opened this issue May 28, 2021 · 1 comment · Fixed by #114
Closed

[BUG] Text size is more than model handle #113

lalitpagaria opened this issue May 28, 2021 · 1 comment · Fixed by #114
Assignees
Labels
bug Something isn't working

Comments

@lalitpagaria
Copy link
Collaborator

This bug is reported by @shahrukhx01

When input text size is more than the text size model can process we get this -

(The size of tensor a (1453) must match the size of tensor b (512) at non-singleton dimension 1)

Currently we don't have proper solution hence as a hack we will truncate text to required size before passing to model.

@lalitpagaria
Copy link
Collaborator Author

@shahrukhx01 for time being I am turncating incoming text till we have proper solution. I will create separate ticket to handle it properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant