iisignature
iisignature copied to clipboard
Invalid argument: 0-th value returned by pyfunc_0 is double, but expects float [[{{node lambda_1/Sig}}]]
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.
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.
Thank you!!