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

损失函数问题 #34

Open
lingyixia opened this issue Jul 12, 2019 · 0 comments
Open

损失函数问题 #34

lingyixia opened this issue Jul 12, 2019 · 0 comments
Labels
question Further information is requested

Comments

@lingyixia
Copy link

感觉这个损失函数是不是有点问题啊,tf.reduce_sum(cost) / tf.to_float(batch_size),分子是cost的和,分母怎么会是batchsize?不应该是tf.reduce_sum(loss_mask)么?

@wb14123 wb14123 added the question Further information is requested label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants