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

text_cnn 第80行bug #3

Open
GlaDOSLI opened this issue Jun 6, 2018 · 0 comments
Open

text_cnn 第80行bug #3

GlaDOSLI opened this issue Jun 6, 2018 · 0 comments

Comments

@GlaDOSLI
Copy link

GlaDOSLI commented Jun 6, 2018

l2_loss += tf.nn.l2_loss(b)
这里应该是
l2_loss += tf.nn.l2_loss(W)
l2损失正则应该是对W起作用,当然也可以同时加上loss(b),像原始版本的代码一样。

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