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

error code , #4

Open
sjyttkl opened this issue Oct 20, 2020 · 1 comment
Open

error code , #4

sjyttkl opened this issue Oct 20, 2020 · 1 comment

Comments

@sjyttkl
Copy link

sjyttkl commented Oct 20, 2020

in mode.py file

line 130 、 132 。

130: self.per_sentence_loss = tf.div(tf.reduce_sum(self.per_word_loss, 1),
tf.reduce_sum(_mask, 1))
132: self.per_sentence_loss = tf.reduce_sum(self.per_word_loss, 1)

here
why same code definition and it not used in after code

thanks

@ajaech
Copy link
Owner

ajaech commented Oct 21, 2020

That looks like a mistake. Thanks for finding it. I don't think it effects anything though.

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