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

the predict text is longer than the labeled text #432

Closed
SharonJin422 opened this issue Jul 29, 2021 · 5 comments
Closed

the predict text is longer than the labeled text #432

SharonJin422 opened this issue Jul 29, 2021 · 5 comments

Comments

@SharonJin422
Copy link

Hello, I got a problem that the predict text is longer than the labeled text by non-sense words jointed the corrected words. What reasons may cause that?

I set the max seq_len to 128, I am not sure if it's that reason.

@MaybeShewill-CV
Copy link
Owner

@SharonJin422 Try to reduce seq_len

@SharonJin422
Copy link
Author

Hello, I have taken contrast tests, with input size = [32, 512], and the max time step will be 128,but set different seq_len:
1)seq_len = 64
2) seq_len = 15

I find that the first test has more accurate predictions than the second, but i cannot explain what cause this, do you have any idea?

@MaybeShewill-CV
Copy link
Owner

@SharonJin422 You may look up something relative to ctc:)

@SharonJin422
Copy link
Author

thanks, i finally figure out that it's the learning rate set too large.

@MaybeShewill-CV
Copy link
Owner

@SharonJin422 welcome:)

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

No branches or pull requests

2 participants