-
Notifications
You must be signed in to change notification settings - Fork 623
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
Batch size mismatch with Inception classifier #32
Comments
I have the same exact issue. I tried Tensorflow version 1.5 and 1.6 and it is same in both the cases. Really appreciate your help in resolving this. |
I have the same issue. |
Any updates on this issue? |
An old version of tensorflow works. |
Yes, tf version 1.3 works. |
How should it work with tf version 1.3? It is not even working with version 1.2.1! |
how to fix this issue with tf version 1.8 ? |
Changing |
Any updates on how to solve this? Or any alternatives? |
Hi, Everyone |
With Tensorflow 1.6.0, the line
pred = sess.run(softmax, {'ExpandDims:0': inp})
raises an error because the input to the softmax in the Inception classifier expects a batch dimension of 1:I assume this didn't used to be the case? For now I've patched my local fork to hardcode
bs = 1
, but I assume that's not the optimal fix here.If I drop a breakpoint right before that line to show what I'm calling this with:
The text was updated successfully, but these errors were encountered: