-
Notifications
You must be signed in to change notification settings - Fork 445
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
Minimicrobatch size error, only function when the minibatchsize = = 1 #17
Comments
Thanks for bringing this up, MADONOKOUKI. Can I ask what the value of batch_size is? |
@schien1729 |
It seems that the code thinks that the loss you're passing (the variable |
I took mean squared error due to minimizing the error between input and output.
But is this cost function wrong? In this time, which cost function in tensorflow should I use? |
The issue might be that by default,
|
Thanks!!!!
I can train my code by this function. I can`t import Reduction, So I directlt write "None" |
Hi, I'm having this same error on the MNIST Keras example shipped with the package
but only in Tensorflow 1.13, in 1.12 it works fine. Any ideas? Thanks! |
Have you made the one liner modification documented at the top of the MNIST keras example ? |
Sorry, completely missed it :) I just copied the relevant code somewhere else, so I ended up not looking at the docstring. So I guess this is just #21, never mind my comment! |
I also met the same problem |
I implemented the other neural network model and take loss function by dp_optimizer.DPGradientDescentGaussianOptimizer.
In that time, I successed when the num_microbatch is 1. But when the num_microbatch is over 1, I got an error.
I implement like
The text was updated successfully, but these errors were encountered: