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

log_softmax #312

Open
sssimpleboy opened this issue Aug 18, 2022 · 1 comment
Open

log_softmax #312

sssimpleboy opened this issue Aug 18, 2022 · 1 comment

Comments

@sssimpleboy
Copy link

作者您好,我看过了几个crnn+ctc的代码 ,也是从meijieru过来的。我发现您的代码 model的forward 最后对 conv做了一个log_softmax,请问为啥要加这一个变化呢?

@sssimpleboy
Copy link
Author

作者您好,我看过了几个crnn+ctc的代码 ,也是从meijieru过来的。我发现您的代码 model的forward 最后对 conv做了一个log_softmax,请问为啥要加这一个变化呢?

训练时候要加 不然loss会变成负的, 测试时候可以不加。不影响结果

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

1 participant