-
Notifications
You must be signed in to change notification settings - Fork 8
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
ValueError: Cannot feed value of shape (48, 48, 1) for Tensor u'InputData/X:0', which has shape '(?, 48, 48, 1)' #1
Comments
Can you help me with the which Tensorflow version and TFLearn version are you using? Meanwhile you can check this Stackoverflow thread to resolve this issue. I'm trying to recreate the same error at my end so I can provide the solution of it. |
first i was working on tensorflow version 1.7 but now i upgraded it to 1.10 still getting error:- |
I had already reshaped using( image = image.reshape([-1, SIZE_FACE, SIZE_FACE, 1]) |
using these- |
I'm running the same code which I have uploaded and unfortunetly I couldn't recreate the same error which you are getting. I'm using tensorflow-gpu==1.9.0 You can see this solution as well Try to pass Bare with me for a day or two I will setup the same enviornment which you had and get back to you. |
I have checked the code from my side. I used the library specifications which you have posted and the code is running perfectly fine. I haven't changed anything so I guess if you can experiment with reshape then this issue will be solved. If you should probably use the batch dimension that may help. More details about this is given here and here |
@RABAJ: If I get to know the entire error log then it would be great. So I can try another time to see what is creating problem in your case. My assumptions: |
hi! I am getting this error after running poc.py .Please help me .
The text was updated successfully, but these errors were encountered: