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

qustions abount mse loss #1

Open
phexic opened this issue May 9, 2021 · 0 comments
Open

qustions abount mse loss #1

phexic opened this issue May 9, 2021 · 0 comments

Comments

@phexic
Copy link

phexic commented May 9, 2021

self.loss = (1.0 / args.batch_size) * tf.nn.l2_loss(self.Y_ - self.Y) # MSE loss
should be changed to the following code?
self.loss = (1.0 / args.batch_size) * tf.losses.mean_squared_error(self.Y_, self.Y)

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