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

tensorflow.python.framework.errors_impl.InvalidArgumentError: No such callable #51

Open
yinzixie opened this issue Nov 12, 2019 · 6 comments

Comments

@yinzixie
Copy link

yinzixie commented Nov 12, 2019

Keras 2.3.1
tensorflow 1.13.1
opencv-python 3.4.4.19

When I tried to predict the gesture this error happened:
image

The issues is caused by k.function() due to the version of keras (I guess):
image

Unfortunately, I am really new to AI, can you help me to fix it? Thank you very much.

@asingh33
Copy link
Owner

Let me take a look.

@asingh33
Copy link
Owner

@yinzixie
It's certainly due to newer Keras version. In order to repro the issue, I had to update the keras version.
I couldn't find any good solution with the latest Keras and Tensorflow version. But even with the latest versions of Tensorflow and Keras, I had to do other changes in driver as some of the function names have been changed.
I would suggest to use the older Keras version based on the requirements.txt file in the github, for now, if possible.
I may have to do more findings to make the code fully compatible with latest Keras version, which might take some time.

@asingh33 asingh33 pinned this issue Nov 19, 2019
@c7chengxuyuan
Copy link

c7chengxuyuan commented Dec 27, 2019

I train this work,over 500 epoch,but why I don't get good prediction?
OCG)HIVX%~$21J 9LX1YM 5
S9KP_9OHRM2H3$IMKKB %U
GWI1$(OS6}L~VI_T8 K2L$4
424VS$W8L71MW9%46JTY}JH
I compared the pictures of the training set,whether it was because my prediction pictures did not have details such as palm print.But I'm using your image processing method.
so what is the reason you don't just use local binarization?like
res = cv2.adaptiveThreshold(blur,255,cv2.ADAPTIVE_THRESH_GAUSSIAN_C,cv2.THRESH_BINARY,11,2)

@asingh33
Copy link
Owner

@c7chengxuyuan Sorry I was away and couldn't back in time.
Were you able to make any progress regarding your issue ?

@sonalgan
Copy link

Hi! Is this a balanced dataset we are using?

@FaysalMehrab
Copy link

IndexError: list index out of range
When I'm using the option " 1- Use pretrained model for gesture recognition & layer visualization"

Then it isk me "Which weight file to load (enter the INDEX of it, which starts from 0):"

and then this below error shows up.
Screenshot (310)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants