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

Invalid argument: 0-th value returned by pyfunc_0 is double, but expects float [[{{node lambda_1/Sig}}]] #14

Open
XinruiYuan opened this issue Dec 25, 2020 · 2 comments

Comments

@XinruiYuan
Copy link

Hi, I want to run demo_keras.py to see how the signature were used in cnn training, however, it didn't work as title showed.

@bottler
Copy link
Owner

bottler commented Dec 25, 2020

I imagine lots has changed in theano, keras and tensorflow since that demo was made, making it unlikely to work, and you can learn the idea by reading the code even if it doesn’t always run.

In this particular case, it might be an iisignature change though. The sig function returns double, but maybe it used to return float.

if you are using theano, you might just need to change float32 to float64 here. If it’s tensorflow the change would be here.

@dishant26
Copy link

Thank you!!

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

3 participants