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

您好,关于四层全连接层的问题 #25

Open
yyqgigray opened this issue Jun 4, 2019 · 1 comment
Open

您好,关于四层全连接层的问题 #25

yyqgigray opened this issue Jun 4, 2019 · 1 comment

Comments

@yyqgigray
Copy link

您好,请问模型中的四层全连接层是否对应着验证码中的四个字符?或者说全连接层的个数和验证码中字符的个数有无对应关系,因为当我再减小全连接层个数的时候会报错模型期望的数组个数和实际得到的数组个数不一致,但是当将n_class参数也进行相应的修改,比如n_class变为5,全连接层也为5个时,就不会报错。

@ypwhs
Copy link
Owner

ypwhs commented Jun 4, 2019

第一个 CNN 模型模型是这样的,图片里有几个字,就需要几个分类器去识别。

建议使用 CTC 模型,可以识别不定长的序列。

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

No branches or pull requests

2 participants