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

请问如果是不定长的验证码 可以使用吗 #64

Open
AzureSkyHuHu opened this issue Dec 2, 2020 · 2 comments
Open

请问如果是不定长的验证码 可以使用吗 #64

AzureSkyHuHu opened this issue Dec 2, 2020 · 2 comments

Comments

@AzureSkyHuHu
Copy link

定长的基本没啥问题.
最近遇到一个 1到100以内的四则运算....
a = np.array([decode_target(true,characters) == decode(pred,characters) for true, pred in zip(target, output_argmax)])

请问不定长是修改这里还是要换模型

@AzureSkyHuHu
Copy link
Author

直接在target那补了个占位符.... 补满到最大长度..
然后改下batch_size
居然也行....??

@ypwhs
Copy link
Owner

ypwhs commented Dec 2, 2020

用CTC就行,记得换数据。

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